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:
Kevin Ruland 2012-03-29 02:53:37 +00:00
parent 6de0ea7083
commit 0e493ed5bc

View File

@ -53,10 +53,11 @@ 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);