Merge pull request #243 from Scrumplex/migration-dialog

Closes https://github.com/PrismLauncher/PrismLauncher/issues/46
Closes https://github.com/PrismLauncher/PrismLauncher/issues/204
This commit is contained in:
Sefa Eyeoglu
2022-11-21 12:14:49 +01:00
committed by GitHub
11 changed files with 341 additions and 33 deletions

View File

@ -44,7 +44,8 @@ void ProgressDialog::setSkipButton(bool present, QString label)
void ProgressDialog::on_skipButton_clicked(bool checked)
{
Q_UNUSED(checked);
task->abort();
if (ui->skipButton->isEnabled()) // prevent other triggers from aborting
task->abort();
}
ProgressDialog::~ProgressDialog()