Merge pull request #59962 from Ev1lbl0w/bugfix-projectManagerFileDialog

This commit is contained in:
Rémi Verschelde 2022-04-07 00:09:48 +02:00 committed by GitHub
commit a49079947b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ void EditorFileDialog::update_file_list() {
} }
} else if (!dir_access->current_is_hidden()) { } else if (!dir_access->current_is_hidden()) {
String full_path = cdir == "res://" ? item : dir_access->get_current_dir() + "/" + item; 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); dirs.push_back(item);
} else { } else {
files.push_back(item); files.push_back(item);