Merge pull request #5925 from profelis/shortcut-filter-project

Command-f focus filter input field in project manager
This commit is contained in:
Rémi Verschelde 2016-07-28 08:38:23 +02:00 committed by GitHub
commit 1dae31f554

View file

@ -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;