OSDN Git Service

Fix problem where username vanishes after a sync.
authorRandy Baumgarte <randy@fbn.cx>
Sun, 26 Aug 2012 13:33:52 +0000 (09:33 -0400)
committerRandy Baumgarte <randy@fbn.cx>
Sun, 26 Aug 2012 13:33:52 +0000 (09:33 -0400)
src/cx/fbn/nevernote/Global.java
src/cx/fbn/nevernote/NeverNote.java

index e395575..8717ad1 100644 (file)
@@ -64,7 +64,7 @@ import cx.fbn.nevernote.utilities.Pair;
 public class Global {\r
        // Set current version and the known versions.\r
        public static String version = "1.3";\r
-       public static String[] validVersions = {"1.2", "1.1", "1.0", "0.99", "0.98", "0.97", "0.96"};\r
+       public static String[] validVersions = {"1.3", "1.2", "1.1", "1.0", "0.99", "0.98", "0.97", "0.96"};\r
     public static String username = ""; \r
     //public static String password = "";     \r
     \r
index 5ec756e..8e5fa0b 100644 (file)
@@ -3474,7 +3474,7 @@ public class NeverNote extends QMainWindow{
                        syncRunner.enConnect();
                        Global.isConnected = syncRunner.isConnected;
                }
-               Global.username = syncRunner.username;
+//             Global.username = syncRunner.username;
                        
                if (!Global.isConnected)
                        return;