Fixed an issue where adding a game to a collection would not switch the view style.

This commit is contained in:
Leon Styhre 2021-02-05 17:07:00 +01:00
parent 8c704bb47e
commit 393e6f17ce

View file

@ -403,7 +403,7 @@ void CollectionSystemsManager::updateCollectionSystem(FileData* file, Collection
CollectionFileData* newGame = new CollectionFileData(file, curSys); CollectionFileData* newGame = new CollectionFileData(file, curSys);
rootFolder->addChild(newGame); rootFolder->addChild(newGame);
fileIndex->addToIndex(newGame); fileIndex->addToIndex(newGame);
ViewController::get()->getGameListView(curSys)->onFileChanged(newGame, false); ViewController::get()->getGameListView(curSys)->onFileChanged(newGame, true);
} }
} }