X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FSetup.py;h=36b64c1c1ba96574a7bfead4e711094bd01b741f;hp=e2e55974bf524b967f72a2261adf1f0cf4965e83;hb=11b18fabe50ba2cea39503eccaf0c4fdbc741f4d;hpb=8b0a581bf9ec96b6b698fa2d236d2aadc417f9da diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index e2e5597..36b64c1 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"