Merge pull request #34919 from akien-mga/export-fix-leak-34911

Export: Fix leak or orphaned Controls after #34911
This commit is contained in:
Rémi Verschelde 2020-01-08 18:04:13 +01:00 committed by GitHub
commit 98222130bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1178,11 +1178,13 @@ ProjectExportDialog::ProjectExportDialog() {
// Patch packages.
VBoxContainer *patch_vb = memnew(VBoxContainer);
sections->add_child(patch_vb);
patch_vb->set_name(TTR("Patches"));
// FIXME: Patching support doesn't seem properly implemented yet, so we hide it.
// The rest of the code is still kept for now, in the hope that it will be made
// functional and reactivated.
//sections->add_child(patch_vb);
patch_vb->set_name(TTR("Patches"));
patch_vb->hide();
patches = memnew(Tree);
patch_vb->add_child(patches);