Skip to content

Commit

Permalink
Merge pull request #41702 from kotelifelif/37424
Browse files Browse the repository at this point in the history
Update search function in project settings
  • Loading branch information
akien-mga authored Sep 3, 2020
2 parents 28100d5 + 7f226d0 commit cb20d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_sectioned_inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void SectionedInspector::update_category_list() {
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;
}

Expand Down

0 comments on commit cb20d2b

Please sign in to comment.