don't shut down enigma 2 when deleting a timer which has an after event "shutdown...
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 15 May 2006 19:29:40 +0000 (19:29 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 15 May 2006 19:29:40 +0000 (19:29 +0000)
lib/python/Screens/TimerEdit.py

index 3eae816..4a4185c 100644 (file)
@@ -7,7 +7,7 @@ from Components.Label import Label
 from Components.Button import Button
 from Screens.MessageBox import MessageBox
 from TimerEntry import TimerEntry, TimerLog
-from RecordTimer import RecordTimerEntry, parseEvent
+from RecordTimer import RecordTimerEntry, parseEvent, AFTEREVENT
 from time import *
 from ServiceReference import ServiceReference
 from Components.config import *
@@ -116,6 +116,7 @@ class TimerEditList(Screen):
                cur = list.getCurrent()
                if cur:
                        timer = cur[0]
+                       timer.afterEvent = AFTEREVENT.NONE
                        self.session.nav.RecordTimer.removeEntry(timer)
                        self.refill()