From c44754915a36c5c06f1089852bcf6d16ac7ae73c Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Mon, 5 Oct 2009 17:50:21 +0200 Subject: [PATCH] fix possible crash --- lib/python/Screens/HelpMenu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/python/Screens/HelpMenu.py b/lib/python/Screens/HelpMenu.py index 74882a3..305e355 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 -- 2.7.4