Fix filtering of search results in SectionedInspector
(cherry picked from commit 7f226d0a85
)
This commit is contained in:
parent
777d90d7a1
commit
4d27433c1d
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ void SectionedInspector::update_category_list() {
|
|||
if (pi.name.find(":") != -1 || pi.name == "script" || pi.name == "resource_name" || pi.name == "resource_path" || pi.name == "resource_local_to_scene" || pi.name.begins_with("_global_script"))
|
||||
continue;
|
||||
|
||||
if (!filter.empty() && !filter.is_subsequence_ofi(pi.name) && !filter.is_subsequence_ofi(pi.name.replace("/", " ").capitalize()))
|
||||
if (!filter.empty() && pi.name.findn(filter) == -1 && pi.name.replace("/", " ").capitalize().findn(filter) == -1)
|
||||
continue;
|
||||
|
||||
int sp = pi.name.find("/");
|
||||
|
|
Loading…
Reference in a new issue