Merge pull request #86723 from ryevdokimov/remove-unused-code

Removed unused code related to command palette
This commit is contained in:
Rémi Verschelde 2024-01-03 15:48:17 +01:00
commit d4b33b3e9f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
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);