From 666ac6d299b29eaa85b8b1cb902d6df0b7d8744a Mon Sep 17 00:00:00 2001 From: Ronny Strutz Date: Thu, 10 Nov 2005 02:33:46 +0000 Subject: [PATCH] forbid enabling advanced mode...from advanced to simple is still possible --- lib/python/Screens/Satconfig.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.30.2