diff options
author | Joel Kuntz <Frozenfire92@users.noreply.github.com> | 2024-05-05 12:37:19 -0300 |
---|---|---|
committer | Joel Kuntz <Frozenfire92@users.noreply.github.com> | 2024-05-06 09:05:57 -0300 |
commit | 94e5bada97d338b53d7a071672ce2155848ef75a (patch) | |
tree | 71b3895cb6f698843cc5d90dc86f3c9ddc7e58a6 | |
parent | 7ebc866418b075df58cbe4e31fcf8b0c3acd70a1 (diff) | |
download | redot-engine-94e5bada97d338b53d7a071672ce2155848ef75a.tar.gz |
Update ConnectDialog::_filter_method_list to be case insensitive for search string
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
-rw-r--r-- | editor/connections_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index f57e9cb5f8..4eb41ca884 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -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; } |