From 759e20aac69eca8beeca95a0f321c6a3f41f435f Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Tue, 26 Jul 2016 22:17:41 +0300 Subject: Command-F focus filter input field in project manager --- tools/editor/project_manager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp index caf116523a..dd634e51ee 100644 --- a/tools/editor/project_manager.cpp +++ b/tools/editor/project_manager.cpp @@ -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; -- cgit v1.2.3