Don't filter if there are no matches (once again)
This commit is contained in:
parent
b7b6312184
commit
a07b143d68
|
@ -57,6 +57,9 @@ void TreeSearch::_clean_callable_cache() {
|
||||||
|
|
||||||
void TreeSearch::_filter_tree() {
|
void TreeSearch::_filter_tree() {
|
||||||
ERR_FAIL_COND(!tree_reference);
|
ERR_FAIL_COND(!tree_reference);
|
||||||
|
if (matching_entries.is_empty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
_filter_tree(tree_reference->get_root(), false);
|
_filter_tree(tree_reference->get_root(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue