ui/crumbs/tasklistmodel: don't add same item to binb column more than once
(Bitbake rev: 5e95098be1c1f92c2d72fb371c94bab31c46cf83) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
744f58fbfd
commit
cd51ea63e6
|
@ -441,6 +441,7 @@ class TaskListModel(gtk.ListStore):
|
|||
self[item_path][self.COL_INC] = True
|
||||
|
||||
bin = self[item_path][self.COL_BINB].split(', ')
|
||||
if not binb in bin:
|
||||
bin.append(binb)
|
||||
self[item_path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
|
||||
|
||||
|
|
Loading…
Reference in New Issue