diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 076b2c0064..b0f0213091 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -330,12 +330,15 @@ class ImageConfigurationPage (HobPage): | |||
330 | # append and set active | 330 | # append and set active |
331 | while it: | 331 | while it: |
332 | path = image_model.get_path(it) | 332 | path = image_model.get_path(it) |
333 | it = image_model.iter_next(it) | ||
333 | image_name = image_model[path][recipe_model.COL_NAME] | 334 | image_name = image_model[path][recipe_model.COL_NAME] |
335 | if image_name == self.builder.recipe_model.__dummy_image__: | ||
336 | continue | ||
334 | self.image_combo.append_text(image_name) | 337 | self.image_combo.append_text(image_name) |
335 | if image_name == selected_image: | 338 | if image_name == selected_image: |
336 | active = cnt | 339 | active = cnt |
337 | it = image_model.iter_next(it) | ||
338 | cnt = cnt + 1 | 340 | cnt = cnt + 1 |
341 | self.image_combo.append_text(self.builder.recipe_model.__dummy_image__) | ||
339 | self._image_combo_connect_signal() | 342 | self._image_combo_connect_signal() |
340 | 343 | ||
341 | self.image_combo.set_active(-1) | 344 | self.image_combo.set_active(-1) |