fix bluescreen when try to use the epg time search function in single epg
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 26 Apr 2006 21:30:36 +0000 (21:30 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 26 Apr 2006 21:30:36 +0000 (21:30 +0000)
lib/python/Screens/EpgSelection.py

index 3284e64..a5b61a1 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: