From 7fd15e92756aa740ccbc61410c55b4f241974a18 Mon Sep 17 00:00:00 2001 From: Robert Yevdokimov Date: Tue, 2 Jan 2024 14:49:37 -0500 Subject: [PATCH] Removed unused code related to command palette --- editor/editor_command_palette.cpp | 2 -- editor/editor_command_palette.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp index 6626251ee673..337271ea3d84 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 01fa6896a9ed..5d666aeaa343 100644 --- a/editor/editor_command_palette.h +++ b/editor/editor_command_palette.h @@ -77,8 +77,6 @@ class EditorCommandPalette : public ConfirmationDialog { HashMap commands; HashMap>> unregistered_shortcuts; - List 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 &p_ie);