mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Update ConnectDialog::_filter_method_list to be case insensitive for search string
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
parent
7ebc866418
commit
94e5bada97
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user