Added a flag to force using the filter sidebar object
svn: r16128
This commit is contained in:
parent
de911d9846
commit
e5d0bfccad
@ -249,10 +249,10 @@ class ListView(NavigationView):
|
|||||||
def __build_tree(self):
|
def __build_tree(self):
|
||||||
Utils.profile(self._build_tree)
|
Utils.profile(self._build_tree)
|
||||||
|
|
||||||
def build_tree(self):
|
def build_tree(self, force_sidebar=False):
|
||||||
if self.active:
|
if self.active:
|
||||||
cput0 = time.clock()
|
cput0 = time.clock()
|
||||||
if config.get('interface.filter'):
|
if config.get('interface.filter') or force_sidebar:
|
||||||
filter_info = (True, self.generic_filter, False)
|
filter_info = (True, self.generic_filter, False)
|
||||||
else:
|
else:
|
||||||
value = self.search_bar.get_value()
|
value = self.search_bar.get_value()
|
||||||
|
Loading…
Reference in New Issue
Block a user