summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index b5f0a5a037..80332feaba 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -364,7 +364,7 @@ class ImageConfigurationPage (HobPage):
364 filter = {RecipeListModel.COL_TYPE : ['image']} 364 filter = {RecipeListModel.COL_TYPE : ['image']}
365 image_model = recipe_model.tree_model(filter) 365 image_model = recipe_model.tree_model(filter)
366 active = 0 366 active = 0
367 cnt = 0 367 cnt = 1
368 368
369 white_pattern = [] 369 white_pattern = []
370 if self.builder.parameters.image_white_pattern: 370 if self.builder.parameters.image_white_pattern:
@@ -415,7 +415,6 @@ class ImageConfigurationPage (HobPage):
415 if selected_image == self.builder.recipe_model.__custom_image__: 415 if selected_image == self.builder.recipe_model.__custom_image__:
416 active = cnt 416 active = cnt
417 417
418 self.image_combo.set_active(0)
419 self.image_combo.set_active(active) 418 self.image_combo.set_active(active)
420 419
421 if active != 0: 420 if active != 0: