aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-07-04 12:39:10 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-07-04 12:39:10 +0000
commitf965acae25306290600029c8c402b9429ea2e196 (patch)
treec07dd4ff30f54696bf8e750800b8388bdaf67afb /lib/python/Screens
parent14d2841c95105573bc59e87657eb8fb8e2bcb7ef (diff)
downloadenigma2-f965acae25306290600029c8c402b9429ea2e196.tar.gz
enigma2-f965acae25306290600029c8c402b9429ea2e196.zip
fixes crash in DVDBurn
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/TaskView.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/TaskView.py b/lib/python/Screens/TaskView.py
index fce0ac37..790e9bc6 100644
--- a/lib/python/Screens/TaskView.py
+++ b/lib/python/Screens/TaskView.py
@@ -33,7 +33,8 @@ class JobView(InfoBarNotifications, Screen):
self.state_changed()
def windowHide(self):
- self.job.state_changed.remove(self.state_changed)
+ if len(self.job.state_changed) > 0:
+ self.job.state_changed.remove(self.state_changed)
def state_changed(self):
j = self.job