summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/crumbs/hoblistmodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r--lib/bb/ui/crumbs/hoblistmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py
index 67d40e09a..0bd9734f4 100644
--- a/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/lib/bb/ui/crumbs/hoblistmodel.py
@@ -91,7 +91,7 @@ class PackageListModel(gtk.ListStore):
for key in filter.keys():
if key == self.COL_NAME:
if filter[key] != 'Search packages by name':
- if filter[key] not in name:
+ if name and filter[key] not in name:
return False
else:
if model.get_value(it, key) not in filter[key]: