aboutsummaryrefslogtreecommitdiff
path: root/editor/script_create_dialog.cpp
diff options
context:
space:
mode:
authorWilson E. Alvarez2017-08-24 12:51:28 -0400
committerWilson E. Alvarez2017-08-25 08:47:05 -0400
commit1577f4165374fc7c6d7f3031e463f0aab6e96faa (patch)
tree82bae3af4e17409446b8f11d69ee1bd0c61fcb36 /editor/script_create_dialog.cpp
parent3ea0943f645e5fda0b1bb68415e9c92ed4cf97dd (diff)
downloadgodot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.tar.gz
godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.tar.zst
godot-1577f4165374fc7c6d7f3031e463f0aab6e96faa.zip
Diffstat (limited to 'editor/script_create_dialog.cpp')
-rw-r--r--editor/script_create_dialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp
index 299538a2b..b70c63c97 100644
--- a/editor/script_create_dialog.cpp
+++ b/editor/script_create_dialog.cpp
@@ -591,6 +591,9 @@ ScriptCreateDialog::ScriptCreateDialog() {
hb->add_child(vb);
hb->add_child(empty_v->duplicate());
+ memdelete(empty_h);
+ memdelete(empty_v);
+
add_child(hb);
/* Language */