The combo item index dosn't be increased as the insert a dummy item, when
execute the upadate base image combo operation.
[YOCTO #2500]
(Bitbake rev:
59e19634a84fcb4c34b92cdcf7a9ea807c9abb63)
Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
filter = {RecipeListModel.COL_TYPE : ['image']}
image_model = recipe_model.tree_model(filter)
active = 0
- cnt = 0
+ cnt = 1
white_pattern = []
if self.builder.parameters.image_white_pattern:
if selected_image == self.builder.recipe_model.__custom_image__:
active = cnt
- self.image_combo.set_active(0)
self.image_combo.set_active(active)
if active != 0: