Fixed an issue where refining a scraper search could lead to an empty screen.

This commit is contained in:
Leon Styhre 2021-07-11 22:30:23 +02:00
parent abbc3384fd
commit ea55efb523

View file

@ -782,12 +782,12 @@ void GuiScraperSearch::updateThumbnail()
void GuiScraperSearch::openInputScreen(ScraperSearchParams& params) void GuiScraperSearch::openInputScreen(ScraperSearchParams& params)
{ {
auto searchForFunc = [&](const std::string& name) { auto searchForFunc = [&](const std::string& name) {
stop();
mRefinedSearch = true; mRefinedSearch = true;
params.nameOverride = name; params.nameOverride = name;
search(params); search(params);
}; };
stop();
mRetryCount = 0; mRetryCount = 0;
std::string searchString; std::string searchString;