summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorBernhard Liebl <Bernhard.Liebl@gmx.org>2018-03-11 14:20:32 +0100
committerBernhard Liebl <Bernhard.Liebl@gmx.org>2018-03-11 14:20:32 +0100
commit512069001330ac8f91492986f61a0963308e7d5d (patch)
treeaf858bd9ac934846f53d4715be9d25ef282b21a9 /editor/editor_node.cpp
parent47addcf9d03da717e54158e455d1fc558b4bd66f (diff)
downloadredot-engine-512069001330ac8f91492986f61a0963308e7d5d.tar.gz
Show error icon at "Output" in case of errors
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 8132575479..d9155caf40 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5557,7 +5557,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;