diff options
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/Menu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py index 7ae50cd0..19b36045 100644 --- a/lib/python/Screens/Menu.py +++ b/lib/python/Screens/Menu.py @@ -74,7 +74,8 @@ class Menu(Screen): def okbuttonClick(self): print "okbuttonClick" selection = self["menu"].getCurrent() - selection[1]() + if selection is not None: + selection[1]() def execText(self, text): exec text |
