fix timerediting
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 28 Nov 2005 03:25:06 +0000 (03:25 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 28 Nov 2005 03:25:06 +0000 (03:25 +0000)
lib/python/Screens/TimerEntry.py

index fff51db5188d63ad12fb95b62d5ac5c5e2002879..f2e0170342345df108182f71ecf5156df0ad1d9b 100644 (file)
@@ -111,12 +111,18 @@ class TimerEntry(Screen):
                        if (config.timerentry.enddate.value < config.timerentry.startdate.value):
                                config.timerentry.enddate.value = config.timerentry.startdate.value
                                config.timerentry.enddate.change()
-                               self["config"].invalidate(config.timerentry.enddate)
+                               try:
+                                       self["config"].invalidate(config.timerentry.enddate)
+                               except:
+                                       pass
                if (configElement.getConfigPath() == "config.timerentry.enddate"):
                        if (config.timerentry.enddate.value < config.timerentry.startdate.value):
                                config.timerentry.startdate.value = config.timerentry.enddate.value
                                config.timerentry.startdate.change()
-                               self["config"].invalidate(config.timerentry.startdate)
+                               try:
+                                       self["config"].invalidate(config.timerentry.startdate)
+                               except:
+                                       pass
 
        def createSetup(self):
                self.list = []