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 7ed34cf0d59dae433eedc7807025bd725d634555..5313896b07aba8dc1c6b6a946557d6ead2bdf98b 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):