diff options
author | timoreo <contact@timoreo.fr> | 2022-07-28 09:43:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 09:43:39 +0200 |
commit | 74120fe1f3b072b78298dce68aedb397efb522a2 (patch) | |
tree | e721957e8f9f34a22a79851126bd27210f602fc9 /launcher/ui/dialogs | |
parent | 336f1f4f5067cf45bc34031f376baafef9934e45 (diff) | |
parent | 1ce0f0e7a5059527cea3c6da84c19eb3599d2eff (diff) | |
download | PrismLauncher-74120fe1f3b072b78298dce68aedb397efb522a2.tar.gz PrismLauncher-74120fe1f3b072b78298dce68aedb397efb522a2.tar.bz2 PrismLauncher-74120fe1f3b072b78298dce68aedb397efb522a2.zip |
Merge pull request #699 from Scrumplex/resolve-ftb-mods-cf
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r-- | launcher/ui/dialogs/ProgressDialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/ProgressDialog.cpp b/launcher/ui/dialogs/ProgressDialog.cpp index a79bc837..3c7f53d3 100644 --- a/launcher/ui/dialogs/ProgressDialog.cpp +++ b/launcher/ui/dialogs/ProgressDialog.cpp @@ -43,8 +43,8 @@ void ProgressDialog::setSkipButton(bool present, QString label) void ProgressDialog::on_skipButton_clicked(bool checked) { Q_UNUSED(checked); - task->abort(); - QDialog::reject(); + if (task->abort()) + QDialog::reject(); } ProgressDialog::~ProgressDialog() |