aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authoracid-burn <acidburn@opendreambox.org>2009-11-12 16:37:42 +0100
committeracid-burn <acidburn@opendreambox.org>2009-11-12 16:37:42 +0100
commit2738bca0c0168002f87d1c5f03ab9b5597d31025 (patch)
tree9c4f3594cfb15dddd45c7c1b60e350c26aba3944 /lib/python
parentdd6c331e2a83af4e911fecc70c47b74256ea3419 (diff)
downloadenigma2-2738bca0c0168002f87d1c5f03ab9b5597d31025.tar.gz
enigma2-2738bca0c0168002f87d1c5f03ab9b5597d31025.zip
Components/ConfigList.py: -small fix for global VirtualKeyboard handling
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/Components/ConfigList.py23
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)