summaryrefslogtreecommitdiff
path: root/editor/editor_dir_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_dir_dialog.h')
-rw-r--r--editor/editor_dir_dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_dir_dialog.h b/editor/editor_dir_dialog.h
index 053c1f5503..e97b5ce8af 100644
--- a/editor/editor_dir_dialog.h
+++ b/editor/editor_dir_dialog.h
@@ -47,7 +47,7 @@ class EditorDirDialog : public ConfirmationDialog {
Set<String> opened_paths;
Tree *tree;
- bool updating;
+ bool updating = false;
void _item_collapsed(Object *p_item);
void _item_activated();
@@ -58,7 +58,7 @@ class EditorDirDialog : public ConfirmationDialog {
void ok_pressed() override;
- bool must_reload;
+ bool must_reload = false;
protected:
void _notification(int p_what);