diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-21 12:14:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 12:14:49 +0100 |
commit | c74f852364d512dd850111f92cc989c0c2ce7392 (patch) | |
tree | 7ae2a740b0195b0adcdbcd3460b5e75a68bc7b5d /launcher/ui/dialogs | |
parent | 30607c34a153fd32085712e18827983772d77f7b (diff) | |
parent | fe94c3609ef875166b71b9f6c540c45eff97a5ab (diff) | |
download | PrismLauncher-c74f852364d512dd850111f92cc989c0c2ce7392.tar.gz PrismLauncher-c74f852364d512dd850111f92cc989c0c2ce7392.tar.bz2 PrismLauncher-c74f852364d512dd850111f92cc989c0c2ce7392.zip |
Merge pull request #243 from Scrumplex/migration-dialog
Closes https://github.com/PrismLauncher/PrismLauncher/issues/46
Closes https://github.com/PrismLauncher/PrismLauncher/issues/204
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ProgressDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ProgressDialog.cpp b/launcher/ui/dialogs/ProgressDialog.cpp index 05269f62..da73a449 100644 --- a/launcher/ui/dialogs/ProgressDialog.cpp +++ b/launcher/ui/dialogs/ProgressDialog.cpp @@ -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() |