summaryrefslogtreecommitdiff
path: root/editor/editor_command_palette.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-27 11:03:13 +0100
committerGitHub <noreply@github.com>2022-01-27 11:03:13 +0100
commit899cd3442659f5208a08545b520ae6e6fe2552e7 (patch)
treec5ab709e12aa95ec25b570061da62f00fbc92876 /editor/editor_command_palette.cpp
parenta4f999b7dc1314da752692a19231d0c1a8e70601 (diff)
parent3eb5e0ac509def467d53df7a729e76743e235e90 (diff)
Merge pull request #57281 from Rubonnek/rename-subsequence
Diffstat (limited to 'editor/editor_command_palette.cpp')
-rw-r--r--editor/editor_command_palette.cpp2
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());
}