mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 23:15:38 +00:00
The multi-scraper now sorts the gamelists only after actually scraping some games.
This commit is contained in:
parent
90bd12ef1c
commit
06c31d06eb
|
@ -103,10 +103,13 @@ GuiScraperMulti::GuiScraperMulti(
|
|||
|
||||
GuiScraperMulti::~GuiScraperMulti()
|
||||
{
|
||||
// View type probably changed (basic -> detailed).
|
||||
for (auto it = SystemData::sSystemVector.cbegin();
|
||||
it !=SystemData::sSystemVector.cend(); it++)
|
||||
(*it)->sortSystem();
|
||||
if (mTotalSuccessful > 0) {
|
||||
// Sort all systems to possibly update their view style from Basic to Detailed or Video.
|
||||
for (auto it = SystemData::sSystemVector.cbegin();
|
||||
it !=SystemData::sSystemVector.cend(); it++) {
|
||||
(*it)->sortSystem();
|
||||
}
|
||||
}
|
||||
ViewController::get()->onPauseVideo();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue