summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-28 08:38:23 +0200
committerGitHub <noreply@github.com>2016-07-28 08:38:23 +0200
commit1dae31f55459439cbb51eaa8fd9070873107a836 (patch)
tree124a95b8353671b33d1b007b0dde97338756dce9 /tools
parentc0e3c1fe7a869b36063b89271977ea0bdeda34a9 (diff)
parent759e20aac69eca8beeca95a0f321c6a3f41f435f (diff)
Merge pull request #5925 from profelis/shortcut-filter-project
Command-f focus filter input field in project manager
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/project_manager.cpp4
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;