You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Merge pull request #77292 from Calinou/project-manager-add-select-all-none-shortcuts
Add Ctrl + A and Ctrl + Shift + A to (de)select all projects in project manager
This commit is contained in:
@@ -1248,6 +1248,16 @@ void ProjectManager::shortcut_input(const Ref<InputEvent> &p_ev) {
|
||||
keycode_handled = false;
|
||||
}
|
||||
} break;
|
||||
case Key::A: {
|
||||
if (k->is_command_or_control_pressed()) {
|
||||
if (k->is_shift_pressed()) {
|
||||
project_list->deselect_all_visible_projects();
|
||||
} else {
|
||||
project_list->select_all_visible_projects();
|
||||
}
|
||||
_update_project_buttons();
|
||||
}
|
||||
} break;
|
||||
default: {
|
||||
keycode_handled = false;
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user