Correct startup order. Since parsing the body tube preset library uses BodyTube and therefore Material and ExternalComponent which holds on to static copies of the translator, it must be done after localization is initialized.
This commit is contained in:
parent
6de0ea7083
commit
0e493ed5bc
@ -53,11 +53,12 @@ public class Startup {
|
||||
|
||||
Application.setPreferences( new SwingPreferences() );
|
||||
|
||||
Application.setDaos( new DaosImpl() );
|
||||
|
||||
// Setup the translations
|
||||
initializeL10n();
|
||||
|
||||
// Must be done after localization is initialized
|
||||
Application.setDaos( new DaosImpl() );
|
||||
|
||||
// Continue startup in Startup2 class (where Application is already set up)
|
||||
Startup2.runMain(args);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user