summaryrefslogtreecommitdiffstats
path: root/tools/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-25 00:30:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-25 00:30:14 -0300
commit31a4762feab58d1eb68d02c9591a80662d383361 (patch)
tree4c35565630c62e46bc68036846bcaa2d5cd522af /tools/editor/script_editor_debugger.cpp
parent16b8b97472752bdf4753ef4a9bee9b7a687fa1cd (diff)
parenta3e491435593f75e394b8ec72c192d3119bf72d0 (diff)
downloadredot-engine-31a4762feab58d1eb68d02c9591a80662d383361.tar.gz
Merge pull request #3435 from neikeq/output_focus_steal
Fix Output panel annoying focus steal
Diffstat (limited to 'tools/editor/script_editor_debugger.cpp')
-rw-r--r--tools/editor/script_editor_debugger.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp
index e727668c49..773f4c7eea 100644
--- a/tools/editor/script_editor_debugger.cpp
+++ b/tools/editor/script_editor_debugger.cpp
@@ -360,7 +360,9 @@ void ScriptEditorDebugger::_parse_message(const String& p_msg,const Array& p_dat
if (EditorNode::get_log()->is_hidden()) {
log_forced_visible=true;
- EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log());
+ if (EditorNode::get_singleton()->are_bottom_panels_hidden()) {
+ EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log());
+ }
}
EditorNode::get_log()->add_message(t);