from Screen import Screen
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 *
from Components.TimerSanityCheck import TimerSanityCheck
class TimerEditList(Screen):
cur = list.getCurrent()
if cur:
timer = cur[0]
+ timer.afterEvent = AFTEREVENT.NONE
self.session.nav.RecordTimer.removeEntry(timer)
self.refill()
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)