summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2020-04-06 20:07:08 +0200
committerqarmin <mikrutrafal54@gmail.com>2020-04-06 20:07:08 +0200
commit5cbab8156477e107405e997cda024d1185b1933b (patch)
tree9feb3fdaa56f8673b853a7927414cfe4d1cdc360 /editor
parent94fab213482fd944debc50e255e7b395d391cc33 (diff)
Fixes leaks when running editor
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_file_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp
index 71ade56e39..760bf572ef 100644
--- a/editor/editor_file_dialog.cpp
+++ b/editor/editor_file_dialog.cpp
@@ -1579,6 +1579,7 @@ EditorFileDialog::EditorFileDialog() {
drives = memnew(OptionButton);
drives->connect("item_selected", callable_mp(this, &EditorFileDialog::_select_drive));
+ pathhb->add_child(drives);
makedir = memnew(Button);
makedir->set_text(TTR("Create Folder"));