bb/ui/hob: reset event handler once build complete
The HobEventHandler passes events on to RunningBuild when a build is in progress. This patch resets the HobEventHandler to handle events when the build is complete. (Bitbake rev: 3d66d4e64a6352c01662a24ee957eddcd3fde7fc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fe53449330
commit
040e26ac09
|
@ -450,6 +450,8 @@ class MainWindow (gtk.Window):
|
|||
self.nb.set_current_page(0)
|
||||
|
||||
def build_complete_cb(self, running_build):
|
||||
# Have the handler process BB events again
|
||||
self.handler.building = None
|
||||
self.stopping = False
|
||||
self.back.connect("clicked", self.back_button_clicked_cb)
|
||||
self.back.set_sensitive(True)
|
||||
|
|
Loading…
Reference in New Issue