aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-01 21:38:07 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-01 21:38:07 +0000
commit7f088b2e0ec5051c3b9b9a1942198f0be28f315b (patch)
tree81ff377dca05dd34872806f28cd325e8e0d8a7c3 /lib/python/Plugins/Extensions
parentf21ed7557f028e334810bf1094251f93520dce2a (diff)
downloadenigma2-7f088b2e0ec5051c3b9b9a1942198f0be28f315b.tar.gz
enigma2-7f088b2e0ec5051c3b9b9a1942198f0be28f315b.zip
restart previous running services in onClose event
remove some debug output
Diffstat (limited to 'lib/python/Plugins/Extensions')
-rw-r--r--lib/python/Plugins/Extensions/CutListEditor/plugin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/CutListEditor/plugin.py b/lib/python/Plugins/Extensions/CutListEditor/plugin.py
index 7ebc42b5..c3456675 100644
--- a/lib/python/Plugins/Extensions/CutListEditor/plugin.py
+++ b/lib/python/Plugins/Extensions/CutListEditor/plugin.py
@@ -213,6 +213,10 @@ class CutListEditor(Screen, InfoBarBase, InfoBarSeek, InfoBarCueSheetSupport, He
# to track new entries we save the last version of the cutlist
self.last_cuts = [ ]
self.cut_start = None
+ self.onClose.append(self.__onClose)
+
+ def __onClose(self):
+ self.session.nav.playService(self.old_service)
def showTutorial(self):
if not self.tutorial_seen:
@@ -258,7 +262,6 @@ Then seek to the end, press OK, select 'end cut'. That's it.
self.removeMark(m)
def exit(self):
- self.session.nav.playService(self.old_service)
self.close()
def getCutlist(self):