Skip to content

Commit

Permalink
Merge pull request #91598 from Frozenfire92/select-method-search-inse…
Browse files Browse the repository at this point in the history
…nsitive

Update `ConnectDialog::_filter_method_list` to be case insensitive for search string
  • Loading branch information
akien-mga committed May 6, 2024
2 parents 608096e + 94e5bad commit d8aa2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/connections_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ List<MethodInfo> ConnectDialog::_filter_method_list(const List<MethodInfo> &p_me
List<MethodInfo> ret;

for (const MethodInfo &mi : p_methods) {
if (!p_search_string.is_empty() && !mi.name.contains(p_search_string)) {
if (!p_search_string.is_empty() && mi.name.findn(p_search_string) == -1) {
continue;
}

Expand Down

0 comments on commit d8aa2c6

Please sign in to comment.