summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authortommy3 <tommy@skytel.at>2015-05-14 23:50:15 +0200
committertommy3 <tommy@skytel.at>2015-05-14 23:50:15 +0200
commit282c3924663128f6a2b7ecd86772b01a1b4c82f0 (patch)
tree523c6188a38bf8ce50b018ea8f82782ea7f4964a /scene/gui
parent40c0e1993aa28f580b9bf597abc8902b5d5c1e93 (diff)
set initial flag 'show_hidden_files' for file dialogs in project manager initialization
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/file_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp
index 13cf87ac2b..285de269b9 100644
--- a/scene/gui/file_dialog.cpp
+++ b/scene/gui/file_dialog.cpp
@@ -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);