Mark all stages active in the default configuration so the length gets computed corre...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Sun, 24 Jun 2012 22:47:33 +0000 (22:47 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Sun, 24 Jun 2012 22:47:33 +0000 (22:47 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@805 180e2498-e6e9-4542-8430-84ac67f01cd8

android/src/net/sf/openrocket/android/rocket/OpenRocketLoaderFragment.java

index 1c3e229b57a41138e8ee79503c32a5fe4a5aaaa3..26193b4a1da87e7f455d8acc5020793be495fad1 100644 (file)
@@ -89,6 +89,7 @@ public class OpenRocketLoaderFragment extends Fragment {
                        OpenRocketLoaderResult result = new OpenRocketLoaderResult();\r
                        try {\r
                                OpenRocketDocument rocket = rocketLoader.load(arg0[0], new DatabaseMotorFinderWithMissingMotors());\r
+                               rocket.getDefaultConfiguration().setAllStages();\r
                                result.rocket = rocket;\r
                                result.warnings = rocketLoader.getWarnings();\r
                        } catch (RocketLoadException ex) {\r