summaryrefslogtreecommitdiff
path: root/core/config
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-02-03 01:21:52 +0100
committerHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 12:06:51 +0100
commit77fb65debff5df719709a7f0f5b1047ab13e46af (patch)
treedc84cb265af5c77c23fc627e1503f74b54e1f895 /core/config
parentb99fad040d77719f5852e644a85a1488b65d7811 (diff)
Use EditorFileDialog instead of FileDialog in the project manager
Diffstat (limited to 'core/config')
-rw-r--r--core/config/engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/config/engine.h b/core/config/engine.h
index 65ca58ba1a..1adab9b96f 100644
--- a/core/config/engine.h
+++ b/core/config/engine.h
@@ -72,6 +72,7 @@ private:
Map<StringName, Object *> singleton_ptrs;
bool editor_hint = false;
+ bool project_manager_hint = false;
static Engine *singleton;
@@ -119,9 +120,15 @@ public:
#ifdef TOOLS_ENABLED
_FORCE_INLINE_ void set_editor_hint(bool p_enabled) { editor_hint = p_enabled; }
_FORCE_INLINE_ bool is_editor_hint() const { return editor_hint; }
+
+ _FORCE_INLINE_ void set_project_manager_hint(bool p_enabled) { project_manager_hint = p_enabled; }
+ _FORCE_INLINE_ bool is_project_manager_hint() const { return project_manager_hint; }
#else
_FORCE_INLINE_ void set_editor_hint(bool p_enabled) {}
_FORCE_INLINE_ bool is_editor_hint() const { return false; }
+
+ _FORCE_INLINE_ void set_project_manager_hint(bool p_enabled) {}
+ _FORCE_INLINE_ bool is_project_manager_hint() const { return false; }
#endif
Dictionary get_version_info() const;