aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Wizard.py12
1 files changed, 8 insertions, 4 deletions
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):