From 53693e393d763a264f0577590c67cd5e6c5a3115 Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Thu, 1 Mar 2018 23:06:26 +0100 Subject: [PATCH] Revert "Make KEY_ESCAPE close all output/debugger docks on bottom" This reverts commit c04d8684765b2adc2fe2af56741ff8a2b8953f75. This caused a regression when trying to close the typing suggestion. Reverting this for now until a better implementation for this behavior gets made. --- editor/editor_node.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index ce789b1c562..7441e322be8 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -217,12 +217,6 @@ void EditorNode::_unhandled_input(const Ref &p_event) { } else if (ED_IS_SHORTCUT("editor/editor_prev", p_event)) { _editor_select_prev(); } - - if (k->get_scancode() == KEY_ESCAPE) { - for (int i = 0; i < bottom_panel_items.size(); i++) { - _bottom_panel_switch(false, i); - } - } } }