summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-09-08 18:10:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-13 21:48:35 +0100
commit826a53adf65aaf709383b8b8caed7b99d20f8909 (patch)
tree72b1682b3bec8b82b2b9468bd9c2d171db472ccc
parent684a7c655ba002bb657f93b4976625adde6ba3f7 (diff)
downloadpoky-826a53adf65aaf709383b8b8caed7b99d20f8909.tar.gz
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 <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/hob.py1
1 files changed, 1 insertions, 0 deletions
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):
144 self.build_succeeded = False 144 self.build_succeeded = False
145 145
146 def image_changed_string_cb(self, model, new_image): 146 def image_changed_string_cb(self, model, new_image):
147 self.selected_image = new_image
147 # disconnect the image combo's signal handler 148 # disconnect the image combo's signal handler
148 if self.image_combo_id: 149 if self.image_combo_id:
149 self.image_combo.disconnect(self.image_combo_id) 150 self.image_combo.disconnect(self.image_combo_id)