aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2016-01-24 16:26:03 +0100
committerIgnacio Etcheverry2016-01-24 16:26:03 +0100
commita3e491435593f75e394b8ec72c192d3119bf72d0 (patch)
tree16761fd1e9bf0af74355f1696e66e1f55ed76c1c /tools/editor/script_editor_debugger.cpp
parentdfbc2dce177462506d9c41dfaa867dd76bd136a7 (diff)
downloadgodot-a3e491435593f75e394b8ec72c192d3119bf72d0.tar.gz
godot-a3e491435593f75e394b8ec72c192d3119bf72d0.tar.zst
godot-a3e491435593f75e394b8ec72c192d3119bf72d0.zip
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 297f10a1c..bcc80796c 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);