added a "Starting on" option to set a starting date for repeated timers
[vuplus_dvbapp] / lib / python / Screens / ChoiceBox.py
index 3772988..b1d74ad 100644 (file)
@@ -74,7 +74,11 @@ class ChoiceBox(Screen):
 
        # runs the current selected entry
        def go(self):
-               self.goEntry(self["list"].l.getCurrentSelection()[0])
+               cursel = self["list"].l.getCurrentSelection()
+               if cursel:
+                       self.goEntry(cursel[0])
+               else:
+                       self.cancel()
 
        # runs a specific entry
        def goEntry(self, entry):