diff options
Diffstat (limited to 'lib/python')
| -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 |
