diff options
author | Guilherme Silva <guilhermefelipecgs@gmail.com> | 2018-01-19 11:35:34 -0200 |
---|---|---|
committer | Guilherme Silva <guilhermefelipecgs@gmail.com> | 2018-01-19 11:56:07 -0200 |
commit | 9974e86904d3539e0c04d38bfc3c38c195bdc177 (patch) | |
tree | 992e853fc84e40dcdc1e2b5011d5921786fab39c /editor/script_editor_debugger.cpp | |
parent | eb9fa02fbdfe59f8012979f137447dd8026f33b5 (diff) |
Fix option run/output/always_open_output_on_play
Diffstat (limited to 'editor/script_editor_debugger.cpp')
-rw-r--r-- | editor/script_editor_debugger.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 629b5b63fb..d0527a13ea 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -612,7 +612,9 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da if (!EditorNode::get_log()->is_visible()) { if (EditorNode::get_singleton()->are_bottom_panels_hidden()) { - EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log()); + if (EDITOR_GET("run/output/always_open_output_on_play")) { + EditorNode::get_singleton()->make_bottom_panel_item_visible(EditorNode::get_log()); + } } } EditorNode::get_log()->add_message(t); |