summaryrefslogtreecommitdiffstats
path: root/scene/gui/file_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/file_dialog.h')
-rw-r--r--scene/gui/file_dialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/gui/file_dialog.h b/scene/gui/file_dialog.h
index 7f80caf01d..87c41be98b 100644
--- a/scene/gui/file_dialog.h
+++ b/scene/gui/file_dialog.h
@@ -106,7 +106,7 @@ private:
static bool default_show_hidden_files;
bool show_hidden_files = false;
- bool invalidated = true;
+ bool is_invalidating = false;
struct ThemeCache {
Ref<Texture2D> parent_folder;
@@ -154,6 +154,8 @@ private:
void _change_dir(const String &p_new_dir);
void _update_drives(bool p_select = true);
+ void _invalidate();
+
virtual void shortcut_input(const Ref<InputEvent> &p_event) override;
bool _is_open_should_be_disabled();