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 14:39:17 +0000 |
commit | 947f1a3cb7ca81608fd04b7a5d7ced5f4da47d05 (patch) | |
tree | d0031fc352b18b4901c1fd74b2bcb823278eb0f2 /lib/bb/ui/crumbs/hoblistmodel.py | |
parent | b7b7c768761d205bc5a60922ff709c9c184d4158 (diff) | |
download | bitbake-947f1a3cb7ca81608fd04b7a5d7ced5f4da47d05.tar.gz |
Hob: reset the selection if switch to a new base image
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r-- | lib/bb/ui/crumbs/hoblistmodel.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py index 69e13cf9f..74b2a17e0 100644 --- a/lib/bb/ui/crumbs/hoblistmodel.py +++ b/lib/bb/ui/crumbs/hoblistmodel.py @@ -715,6 +715,7 @@ class RecipeListModel(gtk.ListStore): def set_selected_image(self, img): if not img: return + self.reset() path = self.find_path_for_item(img) self.include_item(item_path=path, binb="User Selected", |