remove commented code to save space
[enigma2.git] / lib / python / Screens / Satconfig.py
index 4da5ecf..c188540 100644 (file)
@@ -68,30 +68,11 @@ class NimSetup(Screen):
                        self.createSetup()
                
        def keyLeft(self):
-               #if self["config"].getCurrent() == self.configMode:
-                       #if self.nim.slotid == 0:
-                               #while currentConfigSelectionElement(config.Nims[self.nim.slotid].configMode) != "simple" and currentConfigSelectionElement(config.Nims[self.nim.slotid].configMode) != "advanced":
-                                       #self["config"].handleKey(config.key["prevElement"])
-                       #else:
-                               #self["config"].handleKey(config.key["prevElement"])
-#              else:
                self["config"].handleKey(config.key["prevElement"])
-
                self.newConfig()
 
        def keyRight(self):
-               #forbid to enable advanced mode until its ready
-               #perhaps its better to use an own element here
-               #this suckz .. how enable advanced config?
-               #if self["config"].getCurrent() == self.configMode:
-                       #if self.nim.slotid == 0:
-                               #while currentConfigSelectionElement(config.Nims[self.nim.slotid].configMode) != "simple" and currentConfigSelectionElement(config.Nims[self.nim.slotid].configMode) != "advanced":
-                                       #self["config"].handleKey(config.key["nextElement"])
-                       #else:
-                               #self["config"].handleKey(config.key["prevElement"])
-               #else:
                self["config"].handleKey(config.key["nextElement"])
-               
                self.newConfig()
 
        def keyNumberGlobal(self, number):