[bitbake-devel] [PATCH 1/1] hob: fix backtrace when dismissing open dialog
Joshua Lock
josh at linux.intel.com
Tue Oct 11 17:20:50 UTC 2011
Clearly a logic/indentation error - we should only try and load the recipe
should the file-chooser return OK.
Fixes [YOCTO #1668]
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
lib/bb/ui/hob.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index 71ea88a..0fcaad5 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -400,9 +400,9 @@ class MainWindow (gtk.Window):
if response == gtk.RESPONSE_OK:
rep.loadRecipe(recipe)
self.save_path = recipe
+ self.model.load_image_rep(rep)
+ self.dirty = False
chooser.destroy()
- self.model.load_image_rep(rep)
- self.dirty = False
def bake_clicked_cb(self, button):
build_image = True
--
1.7.6.4
More information about the bitbake-devel
mailing list