git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use new box depending rcs in HelpMenu (not yet 100% correct, needs
[enigma2.git]
/
lib
/
python
/
Screens
/
TaskView.py
diff --git
a/lib/python/Screens/TaskView.py
b/lib/python/Screens/TaskView.py
index fce0ac37a3d2f2361c51bec1a591a74f6133a2be..790e9bc68ea52ffdd70846539d67cbf3120c8e0e 100644
(file)
--- 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