Correct startup order. Since parsing the body tube preset library uses BodyTube...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 29 Mar 2012 02:53:37 +0000 (02:53 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 29 Mar 2012 02:53:37 +0000 (02:53 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@492 180e2498-e6e9-4542-8430-84ac67f01cd8

core/src/net/sf/openrocket/startup/Startup.java

index 95b03c528959ed3b60412de855c1ff73f6112e1f..3f5f176f6f31272df0672dd5b2c1c0173f88baa7 100644 (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);