fix bug in EpgList.py (line 79, in getCurrent .. TypeError: unscribtable object)
[enigma2.git] / lib / python / Screens / EpgSelection.py
index bf841fa4ba8fac86753c332fc2f620975b756a54..f9516e1d43c297c56ad2b163539467be7f7f0c51 100644 (file)
@@ -50,7 +50,7 @@ class EPGSelection(Screen):
 
                class ChannelActionMap(ActionMap):
                        def action(self, contexts, action):
-                               ActionMap.action(self, contexts, action)
+                               return ActionMap.action(self, contexts, action)
 
                self["actions"] = ChannelActionMap(["EPGSelectActions", "OkCancelActions"],
                        {
@@ -67,7 +67,7 @@ class EPGSelection(Screen):
                self.onLayoutFinish.append(self.onCreate)
 
        def closeScreen(self):
-               self.close(self.closeRecursive or self.type == EPG_TYPE_SINGLE)
+               self.close(self.closeRecursive)
 
        def infoKeyPressed(self):
                if self.type == EPG_TYPE_MULTI:
@@ -105,8 +105,8 @@ class EPGSelection(Screen):
                        if self.type == EPG_TYPE_MULTI and cur[0] is None and cur[1].ref != old[1].ref:
                                self.eventViewCallback(setEvent, setService, val)
                        else:
-                               setEvent(cur[0])
                                setService(cur[1])
+                               setEvent(cur[0])
 
        def zapTo(self): # just used in multiepg
                if self.zapFunc != None: