diff options
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/Setup.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index e2e55974..36b64c1c 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -51,11 +51,14 @@ class Setup(Screen): list.append( (ItemText, item) ) def keyOk(self): - self["config"].handleKey(config.choseElement) + if (self["config"].getCurrent()[1].parent.enabled == True): + self["config"].handleKey(config.choseElement) def keyLeft(self): - self["config"].handleKey(config.prevElement) + if (self["config"].getCurrent()[1].parent.enabled == True): + self["config"].handleKey(config.prevElement) def keyRight(self): - self["config"].handleKey(config.nextElement) + if (self["config"].getCurrent()[1].parent.enabled == True): + self["config"].handleKey(config.nextElement) def keySave(self): print "save requested" |
