summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)