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:
Joshua Lock 2011-03-08 21:39:38 -08:00 committed by Saul Wold
parent 70febdf0ce
commit abcec8015c

View File

@ -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