diff options
author | Dima Granetchi <system.grand@gmail.com> | 2016-07-26 22:17:41 +0300 |
---|---|---|
committer | Dima Granetchi <system.grand@gmail.com> | 2016-07-27 00:48:00 +0300 |
commit | 759e20aac69eca8beeca95a0f321c6a3f41f435f (patch) | |
tree | c9772407468a65b8985317de96cba1905ddfc35f /tools/editor/project_manager.cpp | |
parent | 8d4d167234e08fe0de74ea29814febd5b7a272f8 (diff) |
Command-F focus filter input field in project manager
Diffstat (limited to 'tools/editor/project_manager.cpp')
-rw-r--r-- | tools/editor/project_manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |