bitbake: hob/imageconfigurationpage: changes to image combobox
Place the "Create your own image recipe" field to the end of the image recipes list. [YOCTO #4193] (Bitbake rev: 288bbda31164efffd07a370a728a7682db775c08) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4182c53e56
commit
e76fdac6f1
|
@ -456,7 +456,6 @@ class ImageConfigurationPage (HobPage):
|
||||||
cnt = cnt + 1
|
cnt = cnt + 1
|
||||||
|
|
||||||
self.image_combo.append_text(self.__custom_image__)
|
self.image_combo.append_text(self.__custom_image__)
|
||||||
self.image_combo.append_text(self.builder.recipe_model.__custom_image__)
|
|
||||||
self.image_combo.append_text("--Separator--")
|
self.image_combo.append_text("--Separator--")
|
||||||
cnt = cnt + 3
|
cnt = cnt + 3
|
||||||
|
|
||||||
|
@ -493,6 +492,7 @@ class ImageConfigurationPage (HobPage):
|
||||||
if image_name == selected_image:
|
if image_name == selected_image:
|
||||||
active = cnt
|
active = cnt
|
||||||
cnt = cnt + 1
|
cnt = cnt + 1
|
||||||
|
self.image_combo.append_text(self.builder.recipe_model.__custom_image__)
|
||||||
|
|
||||||
if self.custom_image_selected:
|
if self.custom_image_selected:
|
||||||
self.image_combo.append_text("--Separator--")
|
self.image_combo.append_text("--Separator--")
|
||||||
|
|
Loading…
Reference in New Issue