logic: fixed refreshing to clear files of disabled source groups
This commit is contained in:
committed by
Eberhard Graether
parent
827b8431ca
commit
f572e5ee05
@@ -28,7 +28,10 @@ RefreshInfo RefreshInfoGenerator::getRefreshInfoForUpdatedFiles(
|
||||
|
||||
for (std::shared_ptr<SourceGroup> sourceGroup : sourceGroups)
|
||||
{
|
||||
utility::append(alreadyKnownPaths, sourceGroup->filterToContainedFilePaths(filePathsFromStorage));
|
||||
if (sourceGroup->getStatus() == SOURCE_GROUP_STATUS_ENABLED)
|
||||
{
|
||||
utility::append(alreadyKnownPaths, sourceGroup->filterToContainedFilePaths(filePathsFromStorage));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user