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=3c4d2076b502a00d66b39f7f390cbed287193ceb;hp=eaabb0ae7eacb503c6774426ef9c960241e29e22 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()