From abcec8015c29c4322405e0e71ed05cb74d441cde Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 8 Mar 2011 21:39:38 -0800 Subject: 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 --- bitbake/lib/bb/ui/hob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 52788813c5..0f8fe8c2d6 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py @@ -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 -- cgit v1.2.3-54-g00ecf