diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-27 11:03:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 11:03:13 +0100 |
commit | 899cd3442659f5208a08545b520ae6e6fe2552e7 (patch) | |
tree | c5ab709e12aa95ec25b570061da62f00fbc92876 /editor/editor_command_palette.cpp | |
parent | a4f999b7dc1314da752692a19231d0c1a8e70601 (diff) | |
parent | 3eb5e0ac509def467d53df7a729e76743e235e90 (diff) |
Merge pull request #57281 from Rubonnek/rename-subsequence
Diffstat (limited to 'editor/editor_command_palette.cpp')
-rw-r--r-- | editor/editor_command_palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp index 1724e87489..d13d1a6c68 100644 --- a/editor/editor_command_palette.cpp +++ b/editor/editor_command_palette.cpp @@ -72,7 +72,7 @@ void EditorCommandPalette::_update_command_search(const String &search_text) { r.shortcut_text = commands[r.key_name].shortcut; r.last_used = commands[r.key_name].last_used; - if (search_text.is_subsequence_ofi(r.display_name)) { + if (search_text.is_subsequence_ofn(r.display_name)) { if (!search_text.is_empty()) { r.score = _score_path(search_text, r.display_name.to_lower()); } |