Fixed a potential issue with view style changes for ungrouped custom collections.

This commit is contained in:
Leon Styhre 2021-03-12 20:14:27 +01:00
parent df28513bb0
commit 1e845a189a

View file

@ -468,7 +468,7 @@ void CollectionSystemsManager::updateCollectionSystem(FileData* file, Collection
if (rootFolder->getSystem()->isGroupedCustomCollection())
ViewController::get()->onFileChanged(rootFolder->getParent(), true);
else
ViewController::get()->onFileChanged(rootFolder, false);
ViewController::get()->onFileChanged(rootFolder, true);
}
}
}