From 088344d9187af9a0556b69e0b37d8c2d63952b05 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)... (From Poky rev: ff3e326269d27662c830b04e05b571d257b89346) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- lib/bb/ui/hob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bb/ui') diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py index 9a804f123..ab6022b7d 100644 --- a/lib/bb/ui/hob.py +++ b/lib/bb/ui/hob.py @@ -422,7 +422,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 1.2.3-korg