diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-06 21:25:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 21:25:36 +0200 |
commit | 0d4d96d4b0d7b219f13206b300e7fcf802f228bb (patch) | |
tree | 67b1d642cf72317bcee4918370a51a75f17b0e51 /scene/gui/file_dialog.cpp | |
parent | e0a9879ce473049995d21930179699ac5753edee (diff) | |
parent | 5cbab8156477e107405e997cda024d1185b1933b (diff) |
Merge pull request #37639 from qarmin/no_more_leaks
Fixes leaks when running editor
Diffstat (limited to 'scene/gui/file_dialog.cpp')
-rw-r--r-- | scene/gui/file_dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index 905af399b3..3d0812e991 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -909,6 +909,7 @@ FileDialog::FileDialog() { drives = memnew(OptionButton); drives->connect("item_selected", callable_mp(this, &FileDialog::_select_drive)); + hbc->add_child(drives); dir = memnew(LineEdit); hbc->add_child(dir); |