Added a flag to force using the filter sidebar object

svn: r16128
This commit is contained in:
Doug Blank 2010-11-04 12:12:57 +00:00
parent de911d9846
commit e5d0bfccad

View File

@ -249,10 +249,10 @@ class ListView(NavigationView):
def __build_tree(self):
Utils.profile(self._build_tree)
def build_tree(self):
def build_tree(self, force_sidebar=False):
if self.active:
cput0 = time.clock()
if config.get('interface.filter'):
if config.get('interface.filter') or force_sidebar:
filter_info = (True, self.generic_filter, False)
else:
value = self.search_bar.get_value()