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 Richard Purdie
parent 3c113f355b
commit ff3e326269
1 changed files with 1 additions and 1 deletions

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