summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-09-08 18:10:29 -0700
committerJoshua Lock <josh@linux.intel.com>2011-09-13 08:30:49 -0700
commitf4be83aae77a713e2b5a2d094651639b6e641031 (patch)
treee5c9b7fd43d8030077363e78ce0270360d133f7e
parent4394e38b038e1bc9845adf01d73363157d98c96d (diff)
downloadbitbake-f4be83aae77a713e2b5a2d094651639b6e641031.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] Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r--lib/bb/ui/hob.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index 8d2d1bd32..51a995e49 100644
--- a/lib/bb/ui/hob.py
+++ b/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)