X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b8b871a579e8f9fc52dbd53bb451fac212775867..40c7c611cfab3dfe403a041e4921805cb107adf4:/lib/python/Screens/TimerEdit.py?ds=sidebyside diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index e6f1edd4..4a4185c3 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -3,12 +3,11 @@ from Components.TimerList import TimerList, TimerEntryComponent from Components.ConfigList import ConfigList from Components.MenuList import MenuList from Components.ActionMap import ActionMap -from Components.TimeInput import TimeInput 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 * @@ -117,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() @@ -140,7 +140,7 @@ class TimerEditList(Screen): else: data = parseEvent(event) - self.addTimer(RecordTimerEntry(serviceref, *data)) + self.addTimer(RecordTimerEntry(serviceref, checkOldTimers = True, *data)) def addTimer(self, timer): self.session.openWithCallback(self.finishedAdd, TimerEntry, timer)