Fixed a typo in a previous commit.

This commit is contained in:
Leon Styhre 2021-07-11 22:35:01 +02:00
parent ea55efb523
commit 61827b4de1
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ GuiScraperMulti::GuiScraperMulti(Window* window,
// semi-automatic mode and there are less than 2 search results.
if (!mSearchComp->getAcceptedResult() &&
!(mSearchComp->getSearchType() == GuiScraperSearch::ACCEPT_SINGLE_MATCHES &&
mSearchComp->getScraperResultSize() < 2)) {
mSearchComp->getScraperResultsSize() < 2)) {
mSearchComp->openInputScreen(mSearchQueue.front());
mGrid.resetCursor();
}

View file

@ -47,7 +47,7 @@ public:
void search(const ScraperSearchParams& params);
void openInputScreen(ScraperSearchParams& from);
void stop();
int getScraperResultSize() { return static_cast<int>(mScraperResults.size()); }
int getScraperResultsSize() { return static_cast<int>(mScraperResults.size()); }
bool getAcceptedResult() { return mAcceptedResult; }
SearchType getSearchType() const { return mSearchType; }
bool getSavedNewMedia()