From: Stefan Pluecken Date: Mon, 13 Sep 2010 21:42:23 +0000 (+0200) Subject: fixes bug #582 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=073cea58c7f58a9cd2fe2adf9c93c0557b54d854;hp=ddef990f9a2b56ef9c63dda46d1b84c9438410c5 fixes bug #582 handle keyboard entries in wizard correctly for dynamic config elements --- diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 1bff028..a752d31 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()