summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-09-04 18:45:07 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 22:31:33 +0100
commitc8957a4fbe8182f8a25c968c04988cebe07f6508 (patch)
tree3c6d54c58b553109b887f15a32d143a518860120 /bitbake
parentb501b832eb1ebcdb20d55ee3d81a6a84ee5e3a77 (diff)
downloadpoky-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.py4
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 060fee241e..3babc8eb47 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -387,6 +387,10 @@ class ImageConfigurationPage (HobPage):
387 selected_image = self.__dummy_image__ 387 selected_image = self.__dummy_image__
388 self.update_image_combo(self.builder.recipe_model, None) 388 self.update_image_combo(self.builder.recipe_model, None)
389 dialog.destroy() 389 dialog.destroy()
390 else:
391 if self.custom_image_selected:
392 self.custom_image_selected = None
393 self.update_image_combo(self.builder.recipe_model, selected_image)
390 394
391 if not selected_image or (selected_image == self.__dummy_image__): 395 if not selected_image or (selected_image == self.__dummy_image__):
392 self.builder.window_sensitive(True) 396 self.builder.window_sensitive(True)