diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-03 15:48:17 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-03 15:48:17 +0100 |
commit | d4b33b3e9f352fbd220115d0d1c40c7cf19c62da (patch) | |
tree | ae4cb80ec750e946c2cce4ce42f2a6f98136799d | |
parent | 00cc23f9068874a468b4f341dd48d44be74f852c (diff) | |
parent | 7fd15e92756aa740ccbc61410c55b4f241974a18 (diff) | |
download | redot-engine-d4b33b3e9f352fbd220115d0d1c40c7cf19c62da.tar.gz |
Merge pull request #86723 from ryevdokimov/remove-unused-code
Removed unused code related to command palette
-rw-r--r-- | editor/editor_command_palette.cpp | 2 | ||||
-rw-r--r-- | editor/editor_command_palette.h | 2 |
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); |