diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-09-04 18:45:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 22:31:33 +0100 |
commit | c8957a4fbe8182f8a25c968c04988cebe07f6508 (patch) | |
tree | 3c6d54c58b553109b887f15a32d143a518860120 /bitbake | |
parent | b501b832eb1ebcdb20d55ee3d81a6a84ee5e3a77 (diff) | |
download | ast2050-yocto-poky-c8957a4fbe8182f8a25c968c04988cebe07f6508.zip ast2050-yocto-poky-c8957a4fbe8182f8a25c968c04988cebe07f6508.tar.gz |
bitbake: hob: remove custom image from the images list when not needed
Selected custom image recipes should be cleared from the combo the moment
you change your selection. The idea is to always perform the selection of
those images in the same way (i.e through the "Select from my image
recipes" option).
[YOCTO #5001]
(Bitbake rev: 94483ee5ae9f4051bccd660c4718c36564e17161)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 060fee2..3babc8e 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py @@ -387,6 +387,10 @@ class ImageConfigurationPage (HobPage): selected_image = self.__dummy_image__ self.update_image_combo(self.builder.recipe_model, None) dialog.destroy() + else: + if self.custom_image_selected: + self.custom_image_selected = None + self.update_image_combo(self.builder.recipe_model, selected_image) if not selected_image or (selected_image == self.__dummy_image__): self.builder.window_sensitive(True) |