Fixed an issue where invalid popup notifications were sometimes shown after a download error message had been displayed in the theme downloader

This commit is contained in:
Leon Styhre 2024-10-07 21:23:39 +02:00
parent 77d27db8cb
commit fb773da199

View file

@ -1074,6 +1074,7 @@ void GuiThemeDownloader::update(int deltaTime)
mWindow->pushGui(new GuiMsgBox( mWindow->pushGui(new GuiMsgBox(
getHelpStyle(), errorMessage, _("OK"), [] { return; }, "", nullptr, "", getHelpStyle(), errorMessage, _("OK"), [] { return; }, "", nullptr, "",
nullptr, nullptr, true)); nullptr, nullptr, true));
mRepositoryError = RepositoryError::NO_REPO_ERROR;
mMessage = ""; mMessage = "";
getHelpPrompts(); getHelpPrompts();
} }