diff options
| author | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-07-04 12:39:10 +0000 |
|---|---|---|
| committer | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-07-04 12:39:10 +0000 |
| commit | f965acae25306290600029c8c402b9429ea2e196 (patch) | |
| tree | c07dd4ff30f54696bf8e750800b8388bdaf67afb /lib/python/Screens/TaskView.py | |
| parent | 14d2841c95105573bc59e87657eb8fb8e2bcb7ef (diff) | |
| download | enigma2-f965acae25306290600029c8c402b9429ea2e196.tar.gz enigma2-f965acae25306290600029c8c402b9429ea2e196.zip | |
fixes crash in DVDBurn
Diffstat (limited to 'lib/python/Screens/TaskView.py')
| -rw-r--r-- | lib/python/Screens/TaskView.py | 3 |
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 |
