diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-10-11 10:16:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-24 17:35:42 +0100 |
commit | e9f66d981ad7ac726988842490192b9b19920445 (patch) | |
tree | bb5c1890421222b1bc07ff7d9af4c8d81d4074e5 /bitbake/lib/bb/ui/hob.py | |
parent | bbb45b656cc39764d912f04ccad6304af58aed1a (diff) | |
download | poky-e9f66d981ad7ac726988842490192b9b19920445.tar.gz |
hob: fix backtrace when dismissing open dialog
Clearly a logic/indentation error - we should only try and load the recipe
should the file-chooser return OK.
Fixes [YOCTO #1668]
(Bitbake rev: db59297aa1861614ffaea4295b9b054baa8a12b9)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 71ea88acd7..0fcaad54a7 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -400,9 +400,9 @@ class MainWindow (gtk.Window): | |||
400 | if response == gtk.RESPONSE_OK: | 400 | if response == gtk.RESPONSE_OK: |
401 | rep.loadRecipe(recipe) | 401 | rep.loadRecipe(recipe) |
402 | self.save_path = recipe | 402 | self.save_path = recipe |
403 | self.model.load_image_rep(rep) | ||
404 | self.dirty = False | ||
403 | chooser.destroy() | 405 | chooser.destroy() |
404 | self.model.load_image_rep(rep) | ||
405 | self.dirty = False | ||
406 | 406 | ||
407 | def bake_clicked_cb(self, button): | 407 | def bake_clicked_cb(self, button): |
408 | build_image = True | 408 | build_image = True |