Merge pull request #62196 from timothyqiu/deselect

This commit is contained in:
Rémi Verschelde 2022-06-20 15:36:30 +02:00 committed by GitHub
commit 608c5e42fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1687,6 +1687,7 @@ EditorFileDialog::EditorFileDialog() {
file = memnew(LineEdit);
file->set_stretch_ratio(4);
file->set_h_size_flags(SIZE_EXPAND_FILL);
file->set_deselect_on_focus_loss_enabled(false);
file_box->add_child(file);
filter = memnew(OptionButton);
filter->set_stretch_ratio(3);