Fixed an issue where custom collections where incorrectly sorted.

This commit is contained in:
Leon Styhre 2020-10-21 22:39:19 +02:00
parent 807a027c40
commit aaef9257b5

View file

@ -438,8 +438,6 @@ void CollectionSystemManager::updateCollectionSystem(FileData* file, CollectionS
ViewController::get()->onFileChanged(rootFolder, FILE_METADATA_CHANGED); ViewController::get()->onFileChanged(rootFolder, FILE_METADATA_CHANGED);
} }
else { else {
rootFolder->getParent()->sort(rootFolder->getSortTypeFromString(
rootFolder->getSortTypeString()), mFavoritesSorting);
ViewController::get()->onFileChanged( ViewController::get()->onFileChanged(
rootFolder->getParent(), FILE_METADATA_CHANGED); rootFolder->getParent(), FILE_METADATA_CHANGED);
} }