From fa08388c29dfeb2e914c8a1b28b899ce5969cce1 Mon Sep 17 00:00:00 2001 From: Dmitry Krutskikh Date: Mon, 9 Oct 2017 23:49:44 +0300 Subject: [PATCH] Skip unhandled input events on asset library tab. --- editor/project_manager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index b0aa73c71f3..d77533cf4ec 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -573,6 +573,9 @@ void ProjectManager::_unhandled_input(const InputEvent &p_ev) { if (!k.pressed) return; + if (tabs->get_current_tab() != 0) + return; + bool scancode_handled = true; switch (k.scancode) {