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 bluescreen in ci menu when no entries in a menulist an ok is pressed
[enigma2.git]
/
lib
/
python
/
Screens
/
Ci.py
diff --git
a/lib/python/Screens/Ci.py
b/lib/python/Screens/Ci.py
index a32ce3449f28c9fdd204e7e5a9c8d4f6d160ca8f..ecc560446d72f4df48cda104c0172c1c7b513f98 100644
(file)
--- a/
lib/python/Screens/Ci.py
+++ b/
lib/python/Screens/Ci.py
@@
-89,7
+89,11
@@
class CiMmi(Screen):
print "do nothing - wait"
elif self.tag == "MENU":
print "answer MENU"
print "do nothing - wait"
elif self.tag == "MENU":
print "answer MENU"
- eDVBCI_UI.getInstance().answerMenu(self.slotid, self["entries"].getCurrent()[1])
+ cur = self["entries"].getCurrent()
+ if cur:
+ eDVBCI_UI.getInstance().answerMenu(self.slotid, cur[1])
+ else:
+ eDVBCI_UI.getInstance().answerMenu(self.slotid, 0)
self.showWait()
elif self.tag == "LIST":
print "answer LIST"
self.showWait()
elif self.tag == "LIST":
print "answer LIST"