Make search bar work again in selectors

svn: r13901
This commit is contained in:
Gary Burton 2009-12-23 20:55:52 +00:00
parent c0dc313967
commit d8471f652a

View File

@ -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