summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-01-15 16:50:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-22 15:35:06 +0000
commit685cde50652fc47d163b7ba827238665216eaf30 (patch)
tree5a934b0d17f9160b62554faa40bbc2c1f9405ad6 /bitbake
parent5fc3fc343e5794764c4345f73b25b3f671a80a69 (diff)
downloadpoky-685cde50652fc47d163b7ba827238665216eaf30.tar.gz
bitbake: hob: combo box updated correctly
The 'select a base image' option is no longer displayed once an image is selected [YOCTO #3671] (Bitbake rev: 27f2247b4c227c3b5adb1ca33d0cd7f7b492e170) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index ff773501b0..a0cbe85b0b 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -404,7 +404,7 @@ class ImageConfigurationPage (HobPage):
404 image_model = recipe_model.tree_model(filter) 404 image_model = recipe_model.tree_model(filter)
405 image_model.set_sort_column_id(recipe_model.COL_NAME, gtk.SORT_ASCENDING) 405 image_model.set_sort_column_id(recipe_model.COL_NAME, gtk.SORT_ASCENDING)
406 active = 0 406 active = 0
407 cnt = 1 407 cnt = 0
408 408
409 white_pattern = [] 409 white_pattern = []
410 if self.builder.parameters.image_white_pattern: 410 if self.builder.parameters.image_white_pattern:
@@ -422,7 +422,10 @@ class ImageConfigurationPage (HobPage):
422 model = self.image_combo.get_model() 422 model = self.image_combo.get_model()
423 model.clear() 423 model.clear()
424 # Set a indicator text to combo store when first open 424 # Set a indicator text to combo store when first open
425 self.image_combo.append_text(self.__dummy_image__) 425 if not selected_image:
426 self.image_combo.append_text(self.__dummy_image__)
427 cnt = cnt + 1
428
426 # append and set active 429 # append and set active
427 while it: 430 while it:
428 path = image_model.get_path(it) 431 path = image_model.get_path(it)