aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorBernhard Liebl2018-03-11 14:20:32 +0100
committerHein-Pieter van Braam2018-04-29 15:06:29 +0200
commit4ce6a8f5f9e108576b4924b5d3dc4486e841c734 (patch)
tree44efec5979e12728316bf2142592a7cf819f08bf /editor/editor_node.cpp
parentdfe6d42a01e4a0aac28cd1c08c438987947d3176 (diff)
downloadgodot-4ce6a8f5f9e108576b4924b5d3dc4486e841c734.tar.gz
godot-4ce6a8f5f9e108576b4924b5d3dc4486e841c734.tar.zst
godot-4ce6a8f5f9e108576b4924b5d3dc4486e841c734.zip
Show error icon at "Output" in case of errors
(cherry picked from commit 512069001330ac8f91492986f61a0963308e7d5d)
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 536b88021..0c5a4beb7 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5577,7 +5577,8 @@ EditorNode::EditorNode() {
bottom_panel_vb->add_child(bottom_panel_hb);
log = memnew(EditorLog);
- add_bottom_panel_item(TTR("Output"), log);
+ ToolButton *output_button = add_bottom_panel_item(TTR("Output"), log);
+ log->set_tool_button(output_button);
old_split_ofs = 0;