summaryrefslogtreecommitdiffstats
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_file_dialog.h b/editor/editor_file_dialog.h
index e3515f8073..923c7080c5 100644
--- a/editor/editor_file_dialog.h
+++ b/editor/editor_file_dialog.h
@@ -143,7 +143,7 @@ private:
DisplayMode display_mode;
bool disable_overwrite_warning = false;
- bool invalidated = true;
+ bool is_invalidating = false;
struct ThemeCache {
Ref<Texture2D> parent_folder;
@@ -216,6 +216,8 @@ private:
void _go_back();
void _go_forward();
+ void _invalidate();
+
virtual void _post_popup() override;
void _save_to_recent();