Skip to content

Commit

Permalink
Removed unused code related to command palette
Browse files Browse the repository at this point in the history
  • Loading branch information
ryevdokimov committed Jan 2, 2024
1 parent 2158f88 commit 7fd15e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions editor/editor_command_palette.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 0 additions & 2 deletions editor/editor_command_palette.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7fd15e9

Please sign in to comment.