don't show empty group when searching in ACE. see #4465

This commit is contained in:
Yann Leboulanger 2008-11-09 09:02:28 +00:00
parent f4ce4c0990
commit 015a4ac038
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class AdvancedConfigurationWindow(object):
def visible_func(self, model, treeiter):
search_string = self.entry.get_text()
return any(search_string in model[it][C_PREFNAME] for it in
tree_model_pre_order(model, treeiter))
tree_model_pre_order(model, treeiter) if model[it][C_TYPE] != '')
@rate_limit(3)
def on_advanced_entry_changed(self, widget):