From 3df42cdefb2bd1abfc6c94ab8a613e98f1d1b2b3 Mon Sep 17 00:00:00 2001 From: DmitryKrutskikh Date: Tue, 10 Oct 2017 18:23:11 +0300 Subject: 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 1fb3fb2ed1..95448a3ff2 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -750,6 +750,9 @@ void ProjectManager::_unhandled_input(const Ref &p_ev) { if (!k->is_pressed()) return; + if (tabs->get_current_tab() != 0) + return; + bool scancode_handled = true; switch (k->get_scancode()) { -- cgit v1.2.3