don't crash when background jobs fail and user presses red key
authorFraxinas <andreas.frisch@multimedia-labs.de>
Wed, 5 Nov 2008 08:00:27 +0000 (09:00 +0100)
committerAndreas Oberritter <obi@saftware.de>
Thu, 6 Nov 2008 00:47:05 +0000 (01:47 +0100)
lib/python/Components/Task.py

index f249f71135d9acc0a94d1ce14f8497b74018d164..b276438f4c7954592ac1b6e29094be3eb1fa67f7 100644 (file)
@@ -265,6 +265,7 @@ class JobManager:
                from Tools import Notifications
                if self.in_background:
                        from Screens.TaskView import JobView
                from Tools import Notifications
                if self.in_background:
                        from Screens.TaskView import JobView
+                       self.in_background = False
                        Notifications.AddNotification(JobView, self.active_job)
                if problems:
                        from Screens.MessageBox import MessageBox
                        Notifications.AddNotification(JobView, self.active_job)
                if problems:
                        from Screens.MessageBox import MessageBox