don't show empty group when searching in ACE. see #4465
This commit is contained in:
parent
f4ce4c0990
commit
015a4ac038
|
@ -269,7 +269,7 @@ class AdvancedConfigurationWindow(object):
|
||||||
def visible_func(self, model, treeiter):
|
def visible_func(self, model, treeiter):
|
||||||
search_string = self.entry.get_text()
|
search_string = self.entry.get_text()
|
||||||
return any(search_string in model[it][C_PREFNAME] for it in
|
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)
|
@rate_limit(3)
|
||||||
def on_advanced_entry_changed(self, widget):
|
def on_advanced_entry_changed(self, widget):
|
||||||
|
|
Loading…
Reference in New Issue