fix order for cable setup
[enigma2.git] / lib / python / Screens / TimerEdit.py
index 965c35b6116883767741421a037c1edd02e7477d..761b2b489cb34f400816ba66e134f2c40d8f336f 100644 (file)
@@ -64,6 +64,7 @@ class TimerEditList(Screen):
                
        def toggleDisabledState(self):
                self["timerlist"].getCurrent()[0].disabled = not self["timerlist"].getCurrent()[0].disabled
+               self.session.nav.RecordTimer.timeChanged(self["timerlist"].getCurrent()[0])
                self.updateState()
                self.refill()
                
@@ -83,6 +84,7 @@ class TimerEditList(Screen):
                
                for timer in self.session.nav.RecordTimer.processed_timers:
                        self.list.append(TimerEntryComponent(timer, processed=True))
+               self.list.sort(cmp = lambda x, y: x[0].begin < y[0].begin)
 
        def showLog(self):
                self.session.openWithCallback(self.finishedEdit, TimerLog, self["timerlist"].getCurrent()[0])
@@ -180,7 +182,7 @@ class TimerSanityConflict(Screen):
        def __init__(self, session, timer):
                Screen.__init__(self, session)
                self.timer = timer
-               print timer
+               print "TimerSanityConflict", timer
                        
                self["timer1"] = TimerList(self.getTimerList(timer[0]))
                if len(timer) > 1: