Skip unhandled input events on asset library tab.

This commit is contained in:
DmitryKrutskikh 2017-10-10 18:23:11 +03:00
parent 0fb22b1d24
commit 3df42cdefb

View File

@ -750,6 +750,9 @@ void ProjectManager::_unhandled_input(const Ref<InputEvent> &p_ev) {
if (!k->is_pressed())
return;
if (tabs->get_current_tab() != 0)
return;
bool scancode_handled = true;
switch (k->get_scancode()) {