summaryrefslogtreecommitdiff
path: root/editor/editor_dir_dialog.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-12 22:00:38 +0100
committerGitHub <noreply@github.com>2022-03-12 22:00:38 +0100
commit84b358c1d8a01ce70a56a099ef98ae014a91239b (patch)
tree9dfb634eb5126e47dc576e62473361fea1f04ecb /editor/editor_dir_dialog.h
parent5959d38c6838d3470ba2b1e166602366cdbac6c5 (diff)
parent918b09cabc39dbf13bed2406da56035341ac1cf4 (diff)
Merge pull request #58338 from aaronfranke/bools
Initialize bools in the headers in `editor/`
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);