diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-16 16:48:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-20 15:21:36 +0000 |
commit | 34b0f7ac3df5504686158c344788fc6465c091d8 (patch) | |
tree | 19bac60e83d1ba873add6c5f448c302726740a4c | |
parent | 8a2f86ad907d3e3eed365b34586dbd99f743c89a (diff) | |
download | poky-34b0f7ac3df5504686158c344788fc6465c091d8.tar.gz |
Hob: reset the selection if switch to a new base image
(Bitbake rev: 947f1a3cb7ca81608fd04b7a5d7ced5f4da47d05)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 69e13cf9fe..74b2a17e01 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |||
@@ -715,6 +715,7 @@ class RecipeListModel(gtk.ListStore): | |||
715 | def set_selected_image(self, img): | 715 | def set_selected_image(self, img): |
716 | if not img: | 716 | if not img: |
717 | return | 717 | return |
718 | self.reset() | ||
718 | path = self.find_path_for_item(img) | 719 | path = self.find_path_for_item(img) |
719 | self.include_item(item_path=path, | 720 | self.include_item(item_path=path, |
720 | binb="User Selected", | 721 | binb="User Selected", |