diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-08 18:04:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 18:04:13 +0100 |
commit | 98222130bfe5ec90c1030c2d1e4554e990c5e0f9 (patch) | |
tree | 5ffa0834887b26881199aa96b494db2fbfcf8d9c | |
parent | bdcfc6d633825e594471f118bafa46446b3e4930 (diff) | |
parent | 656cc83aa0cc355b3937a4a7caa20e1ffe39f69b (diff) |
Merge pull request #34919 from akien-mga/export-fix-leak-34911
Export: Fix leak or orphaned Controls after #34911
-rw-r--r-- | editor/project_export.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp index d01ea49d66..8245264e0d 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -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); |