summaryrefslogtreecommitdiff
path: root/editor/editor_file_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_file_dialog.h')
-rw-r--r--editor/editor_file_dialog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_file_dialog.h b/editor/editor_file_dialog.h
index 65a4c9e544..a747255ce8 100644
--- a/editor/editor_file_dialog.h
+++ b/editor/editor_file_dialog.h
@@ -135,8 +135,8 @@ private:
Vector<String> filters;
- bool previews_enabled;
- bool preview_waiting;
+ bool previews_enabled = true;
+ bool preview_waiting = false;
int preview_wheel_index;
float preview_wheel_timeout;
@@ -145,8 +145,8 @@ private:
bool show_hidden_files;
DisplayMode display_mode;
- bool disable_overwrite_warning;
- bool invalidated;
+ bool disable_overwrite_warning = false;
+ bool invalidated = true;
void update_dir();
void update_file_name();