Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 760aea7

Browse files
committedMar 23, 2025·
Allow the filename_filter property to be changed.
This fixes #104067 in a hacky way. This removes the problematic if statement in FileDialog, which was making the filename_filter box permanently un-editable.
1 parent 2303ce8 commit 760aea7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎scene/gui/file_dialog.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,9 +1095,6 @@ void FileDialog::clear_filename_filter() {
10951095

10961096
void FileDialog::update_filename_filter_gui() {
10971097
filename_filter_box->set_visible(show_filename_filter);
1098-
if (!show_filename_filter) {
1099-
file_name_filter.clear();
1100-
}
11011098
if (filename_filter->get_text() == file_name_filter) {
11021099
return;
11031100
}

0 commit comments

Comments
 (0)
Please sign in to comment.