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 authored and Saul Wold committed 2011-03-14 17:41:46 -07:00
1 parent 70febdf0ce
commit abcec8015c
1 file changed
+1 -1
+1 -1
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