Fixed enumeration of files.

This commit is contained in:
2024-07-23 19:55:40 +02:00
parent 7aa1edcea0
commit 3b7396c4d6
2 changed files with 11 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ std::vector<FileInfo> StackedFileSystemAdapter::listFiles(const fs::path& folder
{
return existing.path == file.path;
});
if (it != files.end()) {
if (it == files.end()) {
files.push_back(file);
}
}