Browse Source

tools/editor/project_export: tree_vb already has a parent

Signed-off-by: Vinzenz Feenstra <[email protected]>
Vinzenz Feenstra 11 năm trước cách đây
mục cha
commit
518722438f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tools/editor/project_export.cpp

+ 1 - 1
tools/editor/project_export.cpp

@@ -1057,7 +1057,7 @@ ProjectExportDialog::ProjectExportDialog(EditorNode *p_editor) {
 
 	tree = memnew( Tree );
 	tree_vb->add_margin_child("Resources to Export:",tree,true);
-	sections->add_child(tree);
+
 	tree->set_v_size_flags(SIZE_EXPAND_FILL);
 	tree->connect("item_edited",this,"_tree_changed");
 	tree->set_columns(2);