forbid enabling advanced mode...from advanced to simple is still possible
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 10 Nov 2005 02:33:46 +0000 (02:33 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Thu, 10 Nov 2005 02:33:46 +0000 (02:33 +0000)
lib/python/Screens/Satconfig.py

index 7ed34cf..5313896 100644 (file)
@@ -54,7 +54,9 @@ class NimSetup(Screen):
                self.newConfig()
 
        def keyRight(self):
-               self["config"].handleKey(config.key["nextElement"])
+               #forbid to enable advanced mode until its ready
+               if self["config"].getCurrent()[0] != "Configmode":
+                       self["config"].handleKey(config.key["nextElement"])
                self.newConfig()
 
        def keyNumberGlobal(self, number):