mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Get the updater to display a no update found message.
This commit is contained in:
parent
027aafc3c1
commit
b1ec7841e0
4 changed files with 53 additions and 31 deletions
|
|
@ -681,7 +681,10 @@ void MainWindow::on_actionConfig_Folder_triggered()
|
|||
void MainWindow::on_actionCheckUpdate_triggered()
|
||||
{
|
||||
auto updater = MMC->updateChecker();
|
||||
updater->checkForUpdate();
|
||||
connect(updater.get(), &UpdateChecker::noUpdateFound, [this](){
|
||||
CustomMessageBox::selectable(this, "No update found.", "No MultiMC update was found!\nYou are using the latest version.")->exec();
|
||||
});
|
||||
updater->checkForUpdate(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionSettings_triggered()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue