[bitbake-devel] [PATCH 1/3] Hob: reset the selection if switch to a new base image
Joshua Lock
josh at linux.intel.com
Mon Mar 19 20:18:36 UTC 2012
On 16/03/12 01:48, Dongxiao Xu wrote:
> Signed-off-by: Dongxiao Xu<dongxiao.xu at intel.com>
Signed-off-by: Joshua Lock <josh at linux.intel.com>
> ---
> 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 caf31bc..6e6983c 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 img == None:
> return
> + self.reset()
> path = self.find_path_for_item(img)
> self.include_item(item_path=path,
> binb="User Selected",
--
Joshua '贾詡' Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre
More information about the bitbake-devel
mailing list