From 34b0f7ac3df5504686158c344788fc6465c091d8 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Fri, 16 Mar 2012 16:48:11 +0800 Subject: Hob: reset the selection if switch to a new base image (Bitbake rev: 947f1a3cb7ca81608fd04b7a5d7ced5f4da47d05) Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py') 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): 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", -- cgit v1.2.3-54-g00ecf