Skip to content
Snippets Groups Projects
Commit 015a4ac0 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent f4ce4c09
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment