diff options
| author | Bernhard Liebl | 2018-03-11 14:20:32 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-29 15:06:29 +0200 |
| commit | 4ce6a8f5f9e108576b4924b5d3dc4486e841c734 (patch) | |
| tree | 44efec5979e12728316bf2142592a7cf819f08bf /editor/editor_node.cpp | |
| parent | dfe6d42a01e4a0aac28cd1c08c438987947d3176 (diff) | |
| download | godot-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.cpp | 3 |
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; |
