From 96683ed68e11672ff22fb4a291d2628676c136f0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 30 Oct 2012 16:42:27 +0000 Subject: uihelper: Set update flag when start event encountered Its a minor correctness detail but the update flag should be set when Start events are encountered. Signed-off-by: Richard Purdie --- lib/bb/ui/uihelper.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py index e408b0491..a703387fb 100644 --- a/lib/bb/ui/uihelper.py +++ b/lib/bb/ui/uihelper.py @@ -51,6 +51,7 @@ class BBUIHelper: if isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted): self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1 self.tasknumber_total = event.stats.total + self.needUpdate = True def getTasks(self): self.needUpdate = False -- cgit 1.2.3-korg