You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fixes leak with drives [3.2]
This commit is contained in:
@@ -1557,6 +1557,7 @@ EditorFileDialog::EditorFileDialog() {
|
|||||||
|
|
||||||
drives = memnew(OptionButton);
|
drives = memnew(OptionButton);
|
||||||
drives->connect("item_selected", this, "_select_drive");
|
drives->connect("item_selected", this, "_select_drive");
|
||||||
|
pathhb->add_child(drives);
|
||||||
|
|
||||||
dir = memnew(LineEdit);
|
dir = memnew(LineEdit);
|
||||||
pathhb->add_child(dir);
|
pathhb->add_child(dir);
|
||||||
|
|||||||
@@ -916,6 +916,7 @@ FileDialog::FileDialog() {
|
|||||||
|
|
||||||
drives = memnew(OptionButton);
|
drives = memnew(OptionButton);
|
||||||
drives->connect("item_selected", this, "_select_drive");
|
drives->connect("item_selected", this, "_select_drive");
|
||||||
|
hbc->add_child(drives);
|
||||||
|
|
||||||
dir = memnew(LineEdit);
|
dir = memnew(LineEdit);
|
||||||
hbc->add_child(dir);
|
hbc->add_child(dir);
|
||||||
|
|||||||
Reference in New Issue
Block a user