| Submitter | Dongxiao Xu |
|---|---|
| Date | March 16, 2012, 8:48 a.m. |
| Message ID | <39f4956a5fee435a865ac48052aa1bb4808e3ec7.1331887394.git.dongxiao.xu@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/23627/ |
| State | New |
| Headers | show |
Comments
On 16/03/12 01:48, Dongxiao Xu wrote: > Signed-off-by: Dongxiao Xu<dongxiao.xu@intel.com> Signed-off-by: Joshua Lock <josh@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",
Patch
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",
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> --- lib/bb/ui/crumbs/hoblistmodel.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)