fix "loading mods cancelled" constantly appearing

This commit is contained in:
Cvolton 2024-06-11 01:07:03 +02:00
parent 2b53e8ae7d
commit 698112a573
No known key found for this signature in database

View file

@ -411,8 +411,7 @@ void ModList::onPromise(ModListSource::PageLoadTask::Event* event) {
}
}
else if (event->isCancelled()) {
this->showStatus(ModListErrorStatus(), "Loading Mods Cancelled");
this->updateState();
this->reloadPage();
}
}