瀏覽代碼

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

Juan Linietsky 9 年之前
父節點
當前提交
5c5e22b252
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);