diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-07 00:09:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 00:09:48 +0200 |
commit | a49079947b7ffde28262cc4978cae9bbec24361b (patch) | |
tree | 8885b0310cea844950054f44ecd33dbeb6b046a3 /editor | |
parent | 10f5352b984aa3353826ac4c1020e4bf9081ea80 (diff) | |
parent | 38fed916e725068d1143ca0e624135cb1f1b6a08 (diff) |
Merge pull request #59962 from Ev1lbl0w/bugfix-projectManagerFileDialog
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_file_dialog.cpp | 2 |
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); |