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()
|
GuiScraperMulti::~GuiScraperMulti()
|
||||||
{
|
{
|
||||||
// View type probably changed (basic -> detailed).
|
if (mTotalSuccessful > 0) {
|
||||||
for (auto it = SystemData::sSystemVector.cbegin();
|
// Sort all systems to possibly update their view style from Basic to Detailed or Video.
|
||||||
it !=SystemData::sSystemVector.cend(); it++)
|
for (auto it = SystemData::sSystemVector.cbegin();
|
||||||
(*it)->sortSystem();
|
it !=SystemData::sSystemVector.cend(); it++) {
|
||||||
|
(*it)->sortSystem();
|
||||||
|
}
|
||||||
|
}
|
||||||
ViewController::get()->onPauseVideo();
|
ViewController::get()->onPauseVideo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue