Removed an incorrect help entry for the scraper error dialog.

This commit is contained in:
Leon Styhre 2020-10-20 21:43:01 +02:00
parent 9ca948e145
commit eb99e3edeb

View file

@ -377,14 +377,14 @@ void GuiScraperSearch::onSearchError(const std::string& error)
mWindow->pushGui(new GuiMsgBox(mWindow, getHelpStyle(), Utils::String::toUpper(error), mWindow->pushGui(new GuiMsgBox(mWindow, getHelpStyle(), Utils::String::toUpper(error),
"RETRY", std::bind(&GuiScraperSearch::search, this, mLastSearch), "RETRY", std::bind(&GuiScraperSearch::search, this, mLastSearch),
"SKIP", mSkipCallback, "SKIP", mSkipCallback,
"CANCEL", mCancelCallback)); "CANCEL", mCancelCallback, true));
} }
else { else {
LOG(LogError) << "GuiScraperSearch search error: " << LOG(LogError) << "GuiScraperSearch search error: " <<
Utils::String::replace(error, "\n", ""); Utils::String::replace(error, "\n", "");
mWindow->pushGui(new GuiMsgBox(mWindow, getHelpStyle(), Utils::String::toUpper(error), mWindow->pushGui(new GuiMsgBox(mWindow, getHelpStyle(), Utils::String::toUpper(error),
"RETRY", std::bind(&GuiScraperSearch::search, this, mLastSearch), "RETRY", std::bind(&GuiScraperSearch::search, this, mLastSearch),
"CANCEL", mCancelCallback)); "CANCEL", mCancelCallback, "", nullptr, true));
} }
} }