mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
bitbake/hob: fix cancel button
An accidental logic inversion (aka thinko) had the cancel button only cancel a build when the user didn't confirm the cancellation (i.e. clicked no)... Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -420,7 +420,7 @@ class MainWindow (gtk.Window):
|
||||
label.show()
|
||||
response = dialog.run()
|
||||
dialog.destroy()
|
||||
if not response == gtk.RESPONSE_YES:
|
||||
if response == gtk.RESPONSE_YES:
|
||||
self.handler.cancel_build()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user