From 4d644ca997befb9b4607f8a3a21463ec2e599a00 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Sat, 12 Dec 2015 10:00:12 -0300 Subject: [PATCH] Script debugger remains visible when using Debug->Show Debugger --- tools/editor/plugins/script_editor_plugin.cpp | 7 ++---- tools/editor/script_editor_debugger.cpp | 24 ++++++++++++------- tools/editor/script_editor_debugger.h | 2 ++ 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 37f4076a0c..c96616b42c 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -605,6 +605,7 @@ void ScriptEditor::_show_debugger(bool p_show) { debug_menu->get_popup()->set_item_checked( debug_menu->get_popup()->get_item_index(DEBUG_SHOW), p_show); + debugger->set_always_visible(p_show); } void ScriptEditor::_script_created(Ref