mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
set initial flag 'show_hidden_files' for file dialogs in project manager initialization
This commit is contained in:
parent
40c0e1993a
commit
282c392466
@ -692,7 +692,7 @@ void FileDialog::set_default_show_hidden_files(bool p_show) {
|
||||
|
||||
FileDialog::FileDialog() {
|
||||
|
||||
show_hidden_files=true;
|
||||
show_hidden_files=default_show_hidden_files;
|
||||
|
||||
VBoxContainer *vbc = memnew( VBoxContainer );
|
||||
add_child(vbc);
|
||||
|
@ -819,6 +819,7 @@ ProjectManager::ProjectManager() {
|
||||
if (!EditorSettings::get_singleton())
|
||||
EditorSettings::create();
|
||||
|
||||
FileDialog::set_default_show_hidden_files(EditorSettings::get_singleton()->get("file_dialog/show_hidden_files"));
|
||||
|
||||
set_area_as_parent_rect();
|
||||
Panel *panel = memnew( Panel );
|
||||
|
Loading…
Reference in New Issue
Block a user