mirror of https://github.com/noisymime/Arduino.git
Instantiating SplashScreenHelper in main() was leaving it null for the tests. Fixed
This commit is contained in:
parent
38f868af5b
commit
dba808c3dc
|
@ -57,7 +57,7 @@ import static processing.app.I18n._;
|
||||||
public class Base {
|
public class Base {
|
||||||
|
|
||||||
static private boolean commandLine;
|
static private boolean commandLine;
|
||||||
public static SplashScreenHelper splashScreenHelper;
|
public static SplashScreenHelper splashScreenHelper = new SplashScreenHelper(SplashScreen.getSplashScreen());
|
||||||
|
|
||||||
// A single instance of the preferences window
|
// A single instance of the preferences window
|
||||||
Preferences preferencesFrame;
|
Preferences preferencesFrame;
|
||||||
|
@ -89,8 +89,6 @@ public class Base {
|
||||||
System.setProperty("awt.useSystemAAFontSettings", "on");
|
System.setProperty("awt.useSystemAAFontSettings", "on");
|
||||||
System.setProperty("swing.aatext", "true");
|
System.setProperty("swing.aatext", "true");
|
||||||
|
|
||||||
splashScreenHelper = new SplashScreenHelper(SplashScreen.getSplashScreen());
|
|
||||||
|
|
||||||
BaseNoGui.initLogger();
|
BaseNoGui.initLogger();
|
||||||
|
|
||||||
BaseNoGui.notifier = new GUIUserNotifier();
|
BaseNoGui.notifier = new GUIUserNotifier();
|
||||||
|
|
Loading…
Reference in New Issue