Fixes leak with drives [3.2]
This commit is contained in:
parent
4dadec331e
commit
57952d562c
2 changed files with 2 additions and 0 deletions
|
@ -1557,6 +1557,7 @@ EditorFileDialog::EditorFileDialog() {
|
|||
|
||||
drives = memnew(OptionButton);
|
||||
drives->connect("item_selected", this, "_select_drive");
|
||||
pathhb->add_child(drives);
|
||||
|
||||
dir = memnew(LineEdit);
|
||||
pathhb->add_child(dir);
|
||||
|
|
|
@ -916,6 +916,7 @@ FileDialog::FileDialog() {
|
|||
|
||||
drives = memnew(OptionButton);
|
||||
drives->connect("item_selected", this, "_select_drive");
|
||||
hbc->add_child(drives);
|
||||
|
||||
dir = memnew(LineEdit);
|
||||
hbc->add_child(dir);
|
||||
|
|
Loading…
Reference in a new issue