aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-30 17:12:19 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-30 17:12:19 +0000
commit7663898c2a6f536b59965f8c1978f7d268bdfc13 (patch)
tree27f82a6a433ac1b91f91727938edba235dd4447b /lib/python
parent1986cf3188f771485d27e6e4d1d23c0160d7c69a (diff)
downloadenigma2-7663898c2a6f536b59965f8c1978f7d268bdfc13.tar.gz
enigma2-7663898c2a6f536b59965f8c1978f7d268bdfc13.zip
save timer
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/TimerEdit.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py
index ffb6f8f9..5233da9b 100644
--- a/lib/python/Screens/TimerEdit.py
+++ b/lib/python/Screens/TimerEdit.py
@@ -29,7 +29,7 @@ class TimerEditList(Screen):
self["actions"] = ActionMap(["OkCancelActions", "ShortcutActions"],
{
"ok": self.openEdit,
- "cancel": self.close,
+ "cancel": self.leave,
"red": self.removeTimer,
"green": self.addCurrentTimer
})
@@ -100,3 +100,7 @@ class TimerEditList(Screen):
self.fillTimerList()
else:
print "Timeredit aborted"
+
+ def leave(self):
+ self.session.nav.RecordTimer.saveTimer()
+ self.close() \ No newline at end of file