Merge pull request #75226 from AThousandShips/file_dialog_default

Do not use editor setting for FileDialog hidden files
This commit is contained in:
Rémi Verschelde 2023-06-09 15:30:48 +02:00
commit a08aa9627c
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -6792,7 +6792,6 @@ EditorNode::EditorNode() {
w->set_min_size(Size2(1024, 600) * EDSCALE);
}
FileDialog::set_default_show_hidden_files(EDITOR_GET("filesystem/file_dialog/show_hidden_files"));
EditorFileDialog::set_default_show_hidden_files(EDITOR_GET("filesystem/file_dialog/show_hidden_files"));
EditorFileDialog::set_default_display_mode((EditorFileDialog::DisplayMode)EDITOR_GET("filesystem/file_dialog/display_mode").operator int());