Fixed a view style issue for custom collections.

This commit is contained in:
Leon Styhre 2020-10-30 18:48:12 +01:00
parent 005952addf
commit 3d2b246392

View file

@ -686,7 +686,7 @@ bool CollectionSystemManager::toggleGameInCollection(FileData* file)
systemViewToUpdate->getRootFolder()->sort(rootFolder->getSortTypeFromString(
rootFolder->getSortTypeString()),
Settings::getInstance()->getBool("FavFirstCustom"));
ViewController::get()->onFileChanged(systemViewToUpdate->getRootFolder(), false);
ViewController::get()->onFileChanged(systemViewToUpdate->getRootFolder(), true);
fileIndex->addToIndex(newGame);
// Add to bundle index as well, if needed.