Fixed an issue where the first scraper result row was focused when it shouldn't.

This commit is contained in:
Leon Styhre 2021-11-27 11:49:56 +01:00
parent 775674a77f
commit 6e479dac74

View file

@ -379,7 +379,6 @@ void GuiScraperSearch::onSearchDone(const std::vector<ScraperSearchResult>& resu
row.makeAcceptInputHandler(mSkipCallback);
mResultList->addRow(row);
mGrid.resetCursor();
}
}
else {
@ -395,7 +394,6 @@ void GuiScraperSearch::onSearchDone(const std::vector<ScraperSearchResult>& resu
row.makeAcceptInputHandler([this, i] { returnResult(mScraperResults.at(i)); });
mResultList->addRow(row);
}
mGrid.resetCursor();
}
mBlockAccept = false;