git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix
[enigma2.git]
/
lib
/
python
/
Screens
/
ChoiceBox.py
diff --git
a/lib/python/Screens/ChoiceBox.py
b/lib/python/Screens/ChoiceBox.py
index 6f23fdcdcb6332741e24f904974867247c6c18b8..ce8f9bf9680543453fa3337ff7e8d27e2cc4629c 100644
(file)
--- a/
lib/python/Screens/ChoiceBox.py
+++ b/
lib/python/Screens/ChoiceBox.py
@@
-18,7
+18,7
@@
class ChoiceBox(Screen):
if keys is None:
self.keys = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "red", "green", "yellow", "blue" ] + (len(list) - 10) * [""]
else:
- self.keys = keys
+ self.keys = keys
+ (len(list) - len(keys)) * [""]
self.keymap = {}
pos = 0