summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 1f00f6cfb2..baf4ede4af 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -472,6 +472,11 @@ class TaskListModel(gtk.ListStore):
472 Returns the path in the model or None 472 Returns the path in the model or None
473 """ 473 """
474 def find_path_for_item(self, item_name): 474 def find_path_for_item(self, item_name):
475 # We don't include virtual/* or *-native items in the model so save a
476 # heavy iteration loop by exiting early for these items
477 if item_name.startswith("virtual/") or item_name.count('-native') or item_name.count('-cross'):
478 return None
479
475 it = self.get_iter_first() 480 it = self.get_iter_first()
476 path = None 481 path = None
477 while it: 482 while it: