From 94e5bada97d338b53d7a071672ce2155848ef75a Mon Sep 17 00:00:00 2001 From: Joel Kuntz Date: Sun, 5 May 2024 12:37:19 -0300 Subject: [PATCH] Update ConnectDialog::_filter_method_list to be case insensitive for search string Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> --- editor/connections_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index f57e9cb5f842..4eb41ca884e9 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -282,7 +282,7 @@ List ConnectDialog::_filter_method_list(const List &p_me List 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; }