Merge pull request #5925 from profelis/shortcut-filter-project
Command-f focus filter input field in project manager
This commit is contained in:
commit
1dae31f554
1 changed files with 4 additions and 0 deletions
|
@ -692,6 +692,10 @@ void ProjectManager::_unhandled_input(const InputEvent& p_ev) {
|
|||
}
|
||||
|
||||
} break;
|
||||
case KEY_F: {
|
||||
if (k.mod.command) this->project_filter->search_box->grab_focus();
|
||||
else scancode_handled = false;
|
||||
} break;
|
||||
default: {
|
||||
scancode_handled = false;
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue