From e5d0bfccad6818eed5fa8bbacbf59978af1d4ddc Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 4 Nov 2010 12:12:57 +0000 Subject: [PATCH] Added a flag to force using the filter sidebar object svn: r16128 --- src/gui/views/listview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/views/listview.py b/src/gui/views/listview.py index b54b3a5ee..d321db8aa 100644 --- a/src/gui/views/listview.py +++ b/src/gui/views/listview.py @@ -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()