You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fixes leak with drives [3.2]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user