diff options
| author | acid-burn <acidburn@opendreambox.org> | 2009-11-12 16:38:21 +0100 |
|---|---|---|
| committer | acid-burn <acidburn@opendreambox.org> | 2009-11-12 16:38:21 +0100 |
| commit | 0986cc90975a114e2930d599f94e7145340c3f85 (patch) | |
| tree | c36e5586d477ddbfb7e12a5869e5651f74333ea4 /lib/python/Components | |
| parent | e0097d6bd40e580f420e1c2e8f3f5990fb1ceb3c (diff) | |
| parent | 2738bca0c0168002f87d1c5f03ab9b5597d31025 (diff) | |
| download | enigma2-0986cc90975a114e2930d599f94e7145340c3f85.tar.gz enigma2-0986cc90975a114e2930d599f94e7145340c3f85.zip | |
Merge branch 'bug157_wizard_virtualkeyboard' into experimental
Diffstat (limited to 'lib/python/Components')
| -rwxr-xr-x | lib/python/Components/ConfigList.py | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py index 60785802..418a1b67 100755 --- a/lib/python/Components/ConfigList.py +++ b/lib/python/Components/ConfigList.py @@ -146,15 +146,20 @@ class ConfigListScreen: self["config"].onSelectionChanged.append(self.handleInputHelpers) def handleInputHelpers(self): - if isinstance(self["config"].getCurrent()[1], ConfigText) or isinstance(self["config"].getCurrent()[1], ConfigPassword): - if self.has_key("VKeyIcon"): - self["VirtualKB"].setEnabled(True) - self["VKeyIcon"].boolean = True - if self.has_key("HelpWindow"): - if self["config"].getCurrent()[1].help_window.instance is not None: - helpwindowpos = self["HelpWindow"].getPosition() - from enigma import ePoint - self["config"].getCurrent()[1].help_window.instance.move(ePoint(helpwindowpos[0],helpwindowpos[1])) + if self["config"].getCurrent() is not None: + if isinstance(self["config"].getCurrent()[1], ConfigText) or isinstance(self["config"].getCurrent()[1], ConfigPassword): + if self.has_key("VKeyIcon"): + self["VirtualKB"].setEnabled(True) + self["VKeyIcon"].boolean = True + if self.has_key("HelpWindow"): + if self["config"].getCurrent()[1].help_window.instance is not None: + helpwindowpos = self["HelpWindow"].getPosition() + from enigma import ePoint + self["config"].getCurrent()[1].help_window.instance.move(ePoint(helpwindowpos[0],helpwindowpos[1])) + else: + if self.has_key("VKeyIcon"): + self["VirtualKB"].setEnabled(False) + self["VKeyIcon"].boolean = False else: if self.has_key("VKeyIcon"): self["VirtualKB"].setEnabled(False) |
