summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-03-13 11:22:28 +0100
committerGitHub <noreply@github.com>2018-03-13 11:22:28 +0100
commited1fb87429c69b5410d79acbb900294127229ffd (patch)
treea637063e4cf16eefc1eecb956f9b27849505bb1b /editor/editor_node.cpp
parent71cc0df311fcf3abdc4bfd739e01f5993829e64a (diff)
parent512069001330ac8f91492986f61a0963308e7d5d (diff)
downloadredot-engine-ed1fb87429c69b5410d79acbb900294127229ffd.tar.gz
Merge pull request #17435 from poke1024/output-error-icon
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 c7d1916b6b..309a3b42ab 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5560,7 +5560,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;