Command-F focus filter input field in project manager

This commit is contained in:
Dima Granetchi 2016-07-26 22:17:41 +03:00
parent 8d4d167234
commit 759e20aac6
No known key found for this signature in database
GPG key ID: 32148D7382062D84

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;