git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into bug_245_record_playback_fixes
[enigma2.git]
/
lib
/
python
/
Screens
/
VirtualKeyBoard.py
diff --git
a/lib/python/Screens/VirtualKeyBoard.py
b/lib/python/Screens/VirtualKeyBoard.py
index bde6f75db712bb65163f889357fdf7c0b464900d..19500ed7ef79668d9a067ac919ffd929ca5ab49e 100755
(executable)
--- a/
lib/python/Screens/VirtualKeyBoard.py
+++ b/
lib/python/Screens/VirtualKeyBoard.py
@@
-195,13
+195,19
@@
class VirtualKeyBoard(Screen):
selectedKey = self.selectedKey
selectedKey = self.selectedKey
+ text = None
+
for x in list:
if selectedKey < 12:
for x in list:
if selectedKey < 12:
- text = x[selectedKey]
+ if selectedKey < len(x):
+ text = x[selectedKey]
break
else:
selectedKey -= 12
break
else:
selectedKey -= 12
+ if text is None:
+ return
+
text = text.encode("utf-8")
if text == "EXIT":
text = text.encode("utf-8")
if text == "EXIT":