1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

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

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;