Fixed an issue where 'No games found' results could be accepted when multi-scraping.

This commit is contained in:
Leon Styhre 2021-09-22 20:10:34 +02:00
parent 64397bc6f0
commit 1b19ab99b1

View file

@ -542,7 +542,7 @@ void GuiScraperSearch::updateInfoPane()
bool GuiScraperSearch::input(InputConfig* config, Input input) bool GuiScraperSearch::input(InputConfig* config, Input input)
{ {
if (config->isMappedTo("a", input) && input.value != 0) { if (config->isMappedTo("a", input) && input.value != 0) {
if (mBlockAccept) if (mBlockAccept || mScraperResults.empty())
return true; return true;
} }