Hob: Set the "stop" button insensitive before hide it
If user stops a build, we need to firstly set the button insensitive and then hide it. This ensures the button's init status is "insensitive" in next build. (Bitbake rev: ea37272ccc28d6e24b48286e5c4c3edbad1d57cd) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c50d8b753d
commit
139a91d742
|
@ -238,6 +238,7 @@ class BuildDetailsPage (HobPage):
|
|||
self.builder.stop_build()
|
||||
|
||||
def hide_stop_button(self):
|
||||
self.stop_button.set_sensitive(False)
|
||||
self.stop_button.hide()
|
||||
|
||||
def scroll_to_present_row(self, model, path, iter, v_adj, treeview):
|
||||
|
|
Loading…
Reference in New Issue