Skip to content

Commit dba808c

Browse files
author
Federico Fissore
committed
Instantiating SplashScreenHelper in main() was leaving it null for the tests. Fixed
1 parent 38f868a commit dba808c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/processing/app/Base.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
public class Base {
5858

5959
static private boolean commandLine;
60-
public static SplashScreenHelper splashScreenHelper;
60+
public static SplashScreenHelper splashScreenHelper = new SplashScreenHelper(SplashScreen.getSplashScreen());
6161

6262
// A single instance of the preferences window
6363
Preferences preferencesFrame;
@@ -89,8 +89,6 @@ static public void main(String args[]) throws Exception {
8989
System.setProperty("awt.useSystemAAFontSettings", "on");
9090
System.setProperty("swing.aatext", "true");
9191

92-
splashScreenHelper = new SplashScreenHelper(SplashScreen.getSplashScreen());
93-
9492
BaseNoGui.initLogger();
9593

9694
BaseNoGui.notifier = new GUIUserNotifier();

0 commit comments

Comments
 (0)