summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-07 00:09:48 +0200
committerGitHub <noreply@github.com>2022-04-07 00:09:48 +0200
commita49079947b7ffde28262cc4978cae9bbec24361b (patch)
tree8885b0310cea844950054f44ecd33dbeb6b046a3 /editor
parent10f5352b984aa3353826ac4c1020e4bf9081ea80 (diff)
parent38fed916e725068d1143ca0e624135cb1f1b6a08 (diff)
Merge pull request #59962 from Ev1lbl0w/bugfix-projectManagerFileDialog
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_file_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp
index d5105b5ac8..ca3e70830c 100644
--- a/editor/editor_file_dialog.cpp
+++ b/editor/editor_file_dialog.cpp
@@ -789,7 +789,7 @@ void EditorFileDialog::update_file_list() {
}
} else if (!dir_access->current_is_hidden()) {
String full_path = cdir == "res://" ? item : dir_access->get_current_dir() + "/" + item;
- if (dir_access->current_is_dir() && !EditorFileSystem::_should_skip_directory(full_path)) {
+ if (dir_access->current_is_dir() && (!EditorFileSystem::_should_skip_directory(full_path) || Engine::get_singleton()->is_project_manager_hint())) {
dirs.push_back(item);
} else {
files.push_back(item);