From d8471f652a0fd26cecd0bc4b7c6c1c1855f4729f Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Wed, 23 Dec 2009 20:55:52 +0000 Subject: [PATCH] Make search bar work again in selectors svn: r13901 --- src/gui/selectors/baseselector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/selectors/baseselector.py b/src/gui/selectors/baseselector.py index 3270247fe..bdc7932c2 100644 --- a/src/gui/selectors/baseselector.py +++ b/src/gui/selectors/baseselector.py @@ -111,7 +111,7 @@ class BaseSelector(ManagedWindow.ManagedWindow): #show or hide search bar? self.set_show_search_bar(show_search_bar) #Hide showall always (used in person selector only) - if self.filter is not None: + if self.filter[1] is not None: self.showall.show() else: self.showall.hide() @@ -240,7 +240,7 @@ class BaseSelector(ManagedWindow.ManagedWindow): """ Builds the selection people see in the Selector """ - if self.filter: + if self.filter[1]: filter_info = self.filter else: #search info for the