projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treat the LanguageSelection as an own wizard, so it is started first on a firstrun
[vuplus_dvbapp]
/
lib
/
python
/
Screens
/
TimerEdit.py
diff --git
a/lib/python/Screens/TimerEdit.py
b/lib/python/Screens/TimerEdit.py
index
ffb6f8f
..
5233da9
100644
(file)
--- 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,
self["actions"] = ActionMap(["OkCancelActions", "ShortcutActions"],
{
"ok": self.openEdit,
- "cancel": self.
clos
e,
+ "cancel": self.
leav
e,
"red": self.removeTimer,
"green": self.addCurrentTimer
})
"red": self.removeTimer,
"green": self.addCurrentTimer
})
@@
-100,3
+100,7
@@
class TimerEditList(Screen):
self.fillTimerList()
else:
print "Timeredit aborted"
self.fillTimerList()
else:
print "Timeredit aborted"
+
+ def leave(self):
+ self.session.nav.RecordTimer.saveTimer()
+ self.close()
\ No newline at end of file