Add support for search shortcut to all docks

This commit is contained in:
passivestar 2024-01-15 04:47:47 +04:00
parent 0bcc0e92b3
commit 97a77c5193
6 changed files with 91 additions and 40 deletions

View file

@ -783,6 +783,9 @@ void GroupsEditor::_groups_gui_input(Ref<InputEvent> p_event) {
_menu_id_pressed(DELETE_GROUP);
} else if (ED_IS_SHORTCUT("groups_editor/rename", p_event)) {
_menu_id_pressed(RENAME_GROUP);
} else if (ED_IS_SHORTCUT("editor/open_search", p_event)) {
filter->grab_focus();
filter->select_all();
} else {
return;
}