From: Stefan Pluecken Date: Fri, 9 Dec 2005 10:54:41 +0000 (+0000) Subject: moving up/down/left/right/around the corner/to hollywood is now possible in the wizard X-Git-Tag: 2.6.0~4770 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/796ca1530ab14e7694e5569d136ca128619d8e07 moving up/down/left/right/around the corner/to hollywood is now possible in the wizard --- diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index fbf26324..b7c149dd 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -97,8 +97,8 @@ class WelcomeWizard(Screen, HelpableScreen): #"cancel": self.keyCancel, "left": self.left, "right": self.right, - #"up": self.up, - #"down": self.down, + "up": self.up, + "down": self.down, #"1": self.keyNumberGlobal, #"2": self.keyNumberGlobal, #"3": self.keyNumberGlobal, @@ -137,12 +137,16 @@ class WelcomeWizard(Screen, HelpableScreen): def up(self): if (self.wizard[self.currStep]["config"]["screen"] != None): - self.configInstance.handleKey("moveUp") + self["config"].instance.moveSelection(self["config"].instance.moveUp) + elif (len(self.wizard[self.currStep]["list"]) > 0): + self["list"].instance.moveSelection(self["config"].instance.moveUp) print "up" def down(self): if (self.wizard[self.currStep]["config"]["screen"] != None): - self.configInstance.handleKey("moveDown") + self["config"].instance.moveSelection(self["config"].instance.moveDown) + elif (len(self.wizard[self.currStep]["list"]) > 0): + self["list"].instance.moveSelection(self["config"].instance.moveDown) print "down" def updateValues(self):