summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editor/editor_command_palette.cpp2
-rw-r--r--editor/editor_command_palette.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp
index 6626251ee6..337271ea3d 100644
--- a/editor/editor_command_palette.cpp
+++ b/editor/editor_command_palette.cpp
@@ -92,8 +92,6 @@ void EditorCommandPalette::_update_command_search(const String &search_text) {
}
}
- command_keys.clear();
-
TreeItem *root = search_options->get_root();
root->clear_children();
diff --git a/editor/editor_command_palette.h b/editor/editor_command_palette.h
index 01fa6896a9..5d666aeaa3 100644
--- a/editor/editor_command_palette.h
+++ b/editor/editor_command_palette.h
@@ -77,8 +77,6 @@ class EditorCommandPalette : public ConfirmationDialog {
HashMap<String, Command> commands;
HashMap<String, Pair<String, Ref<Shortcut>>> unregistered_shortcuts;
- List<String> command_keys;
-
void _update_command_search(const String &search_text);
float _score_path(const String &p_search, const String &p_path);
void _sbox_input(const Ref<InputEvent> &p_ie);