From: Ronny Strutz Date: Thu, 10 Nov 2005 02:33:46 +0000 (+0000) Subject: forbid enabling advanced mode...from advanced to simple is still possible X-Git-Tag: 2.6.0~5378 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/666ac6d299b29eaa85b8b1cb902d6df0b7d8744a?ds=sidebyside forbid enabling advanced mode...from advanced to simple is still possible --- diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py index 7ed34cf0..5313896b 100644 --- a/lib/python/Screens/Satconfig.py +++ b/lib/python/Screens/Satconfig.py @@ -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):