From 073cea58c7f58a9cd2fe2adf9c93c0557b54d854 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 13 Sep 2010 23:42:23 +0200 Subject: fixes bug #582 handle keyboard entries in wizard correctly for dynamic config elements --- lib/python/Screens/Wizard.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/python') diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 1bff0284..a752d31c 100755 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -387,10 +387,14 @@ class Wizard(Screen): def keyNumberGlobal(self, number): if (self.wizard[self.currStep]["config"]["screen"] != None): self.configInstance.keyNumberGlobal(number) + elif (self.wizard[self.currStep]["config"]["type"] == "dynamic"): + self["config"].handleKey(KEY_0 + number) def keyGotAscii(self): if (self.wizard[self.currStep]["config"]["screen"] != None): self["config"].handleKey(KEY_ASCII) + elif (self.wizard[self.currStep]["config"]["type"] == "dynamic"): + self["config"].handleKey(KEY_ASCII) def left(self): self.resetCounter() -- cgit v1.2.3