aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/HelpMenu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/HelpMenu.py b/lib/python/Screens/HelpMenu.py
index 74882a35..305e3555 100644
--- a/lib/python/Screens/HelpMenu.py
+++ b/lib/python/Screens/HelpMenu.py
@@ -25,7 +25,8 @@ class HelpMenu(Screen, Rc):
def SelectionChanged(self):
self.clearSelectedKeys()
selection = self["list"].getCurrent()
- selection = selection[3]
+ if selection:
+ selection = selection[3]
#arrow = self["arrowup"]
print "selection:", selection