Removed unused code related to command palette

This commit is contained in:
Robert Yevdokimov 2024-01-02 14:49:37 -05:00
parent 2158f88a88
commit 7fd15e9275
2 changed files with 0 additions and 4 deletions

View File

@ -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();

View File

@ -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);