Do not use editor setting for FileDialog hidden files

This commit is contained in:
Ninni Pipping 2023-03-22 16:27:06 +01:00
parent 0291fcd7b6
commit c04c69b903

View File

@ -6780,7 +6780,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());