mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2c3861ee68
commit
13590b23c6
@@ -400,9 +400,9 @@ class MainWindow (gtk.Window):
|
|||||||
if response == gtk.RESPONSE_OK:
|
if response == gtk.RESPONSE_OK:
|
||||||
rep.loadRecipe(recipe)
|
rep.loadRecipe(recipe)
|
||||||
self.save_path = recipe
|
self.save_path = recipe
|
||||||
|
self.model.load_image_rep(rep)
|
||||||
|
self.dirty = False
|
||||||
chooser.destroy()
|
chooser.destroy()
|
||||||
self.model.load_image_rep(rep)
|
|
||||||
self.dirty = False
|
|
||||||
|
|
||||||
def bake_clicked_cb(self, button):
|
def bake_clicked_cb(self, button):
|
||||||
build_image = True
|
build_image = True
|
||||||
|
|||||||
Reference in New Issue
Block a user