diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2022-02-03 01:21:52 +0100 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2022-02-12 12:06:51 +0100 |
commit | 77fb65debff5df719709a7f0f5b1047ab13e46af (patch) | |
tree | dc84cb265af5c77c23fc627e1503f74b54e1f895 /editor/editor_paths.cpp | |
parent | b99fad040d77719f5852e644a85a1488b65d7811 (diff) | |
download | redot-engine-77fb65debff5df719709a7f0f5b1047ab13e46af.tar.gz |
Use EditorFileDialog instead of FileDialog in the project manager
Diffstat (limited to 'editor/editor_paths.cpp')
-rw-r--r-- | editor/editor_paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_paths.cpp b/editor/editor_paths.cpp index d4e40db406..c209238447 100644 --- a/editor/editor_paths.cpp +++ b/editor/editor_paths.cpp @@ -193,7 +193,7 @@ EditorPaths::EditorPaths() { // Validate or create project-specific editor data dir, // including shader cache subdir. - if (Main::is_project_manager() || Main::is_cmdline_tool()) { + if (Engine::get_singleton()->is_project_manager_hint() || Main::is_cmdline_tool()) { // Nothing to create, use shared editor data dir for shader cache. Engine::get_singleton()->set_shader_cache_path(data_dir); } else { |