Explorar o código

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

Juan Linietsky %!s(int64=9) %!d(string=hai) anos
pai
achega
5c5e22b252
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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") );
 	logo->set_texture(gui_base->get_icon("Logo","EditorIcons") );
 
 
 	warning = memnew( AcceptDialog );
 	warning = memnew( AcceptDialog );
-	add_child(warning);
+	gui_base->add_child(warning);