Browse Source

Fix the warning message from not using the editor theme, closes #5002

Juan Linietsky 9 years ago
parent
commit
5c5e22b252
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/editor/editor_node.cpp

+ 1 - 1
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);