From 826a53adf65aaf709383b8b8caed7b99d20f8909 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 8 Sep 2011 18:10:29 -0700 Subject: hob: correctly set the selected image when loading a recipe When the user saves their recipe based on an existing image type, loads it in a newly run hob instance and clicks bake they should not be asked about building packages vs an empty image up. Partially addresses [YOCTO #1468] (Bitbake rev: f4be83aae77a713e2b5a2d094651639b6e641031) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/hob.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 8d2d1bd327..51a995e491 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py @@ -144,6 +144,7 @@ class MainWindow (gtk.Window): self.build_succeeded = False def image_changed_string_cb(self, model, new_image): + self.selected_image = new_image # disconnect the image combo's signal handler if self.image_combo_id: self.image_combo.disconnect(self.image_combo_id) -- cgit v1.2.3-54-g00ecf