summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-11 21:38:25 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-11 21:38:25 -0300
commit5c5e22b252df8deb7ac1d53288703807a9229da8 (patch)
treefb731cc6907cae8cd81f0128822c4f72d751d41b /tools/editor
parentef9720c8f032ec85ccc45b21db5705050b5e2d48 (diff)
Fix the warning message from not using the editor theme, closes #5002
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index a21eae2329..b90b017f53 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -6275,7 +6275,7 @@ EditorNode::EditorNode() {
logo->set_texture(gui_base->get_icon("Logo","EditorIcons") );
warning = memnew( AcceptDialog );
- add_child(warning);
+ gui_base->add_child(warning);