moveOnToViewer() actually calls finish(). So just return here.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 15 Jun 2012 14:10:39 +0000 (14:10 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 15 Jun 2012 14:10:39 +0000 (14:10 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@782 180e2498-e6e9-4542-8430-84ac67f01cd8

android/src/net/sf/openrocket/android/Main.java

index 5a071cadbbd5173b184723ad7b3bac241b883ad6..9fe6d82590a290ae68029e68e5a05177d3065119 100644 (file)
@@ -20,7 +20,7 @@ public class Main extends OpenRocketLoaderActivity {
                // Rocket already loaded.  go to viewer.\r
                if ( CurrentRocketHolder.getCurrentRocket().getRocketDocument() != null ) {\r
                        moveOnToViewer();\r
-                       finish();\r
+                       return;\r
                }\r
                setContentView(R.layout.main);\r
                ((Button) findViewById(R.id.main_open)).setOnClickListener(\r