fix bluescreen when try to use the epg time search function in single epg
[enigma2.git] / lib / python / Screens / EpgSelection.py
index 3284e641ebbd0c1e7c55c18c0cb72d684f970c20..a5b61a1cfe540d41a0eb761b3029d27600b74efc 100644 (file)
@@ -77,7 +77,8 @@ class EPGSelection(Screen):
                self.onLayoutFinish.append(self.onCreate)
 
        def enterDateTime(self):
-               self.session.openWithCallback(self.onDateTimeInputClosed, TimeDateInput)
+               if self.type == EPG_TYPE_MULTI:
+                       self.session.openWithCallback(self.onDateTimeInputClosed, TimeDateInput)
 
        def onDateTimeInputClosed(self, ret):
                if len(ret) > 1: