Fixed enumeration of files.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user