diff options
| author | Felix Domke <felix.domke@multimedia-labs.de> | 2009-08-24 00:30:31 +0200 |
|---|---|---|
| committer | Felix Domke <felix.domke@multimedia-labs.de> | 2009-08-24 00:30:31 +0200 |
| commit | a5ce6afda8ae79133e92403b8d7aaac9a6cd5288 (patch) | |
| tree | e568ddfebf49245411b55c9f2f05f1e675d22be6 /lib/python | |
| parent | 65e93a627a7299c2087f85ae8f2f26bfcea3d122 (diff) | |
| download | enigma2-a5ce6afda8ae79133e92403b8d7aaac9a6cd5288.tar.gz enigma2-a5ce6afda8ae79133e92403b8d7aaac9a6cd5288.zip | |
fix for unused buttons on bottom row
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/Screens/VirtualKeyBoard.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/python/Screens/VirtualKeyBoard.py b/lib/python/Screens/VirtualKeyBoard.py index bde6f75d..19500ed7 100755 --- a/lib/python/Screens/VirtualKeyBoard.py +++ b/lib/python/Screens/VirtualKeyBoard.py @@ -195,13 +195,19 @@ class VirtualKeyBoard(Screen): selectedKey = self.selectedKey + text = None + for x in list: if selectedKey < 12: - text = x[selectedKey] + if selectedKey < len(x): + text = x[selectedKey] break else: selectedKey -= 12 + if text is None: + return + text = text.encode("utf-8") if text == "EXIT": |
