fix: progress dialog going away even if the task was not aborted
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
fbf1901d86
commit
1ce0f0e7a5
@ -43,7 +43,7 @@ void ProgressDialog::setSkipButton(bool present, QString label)
|
||||
void ProgressDialog::on_skipButton_clicked(bool checked)
|
||||
{
|
||||
Q_UNUSED(checked);
|
||||
task->abort();
|
||||
if (task->abort())
|
||||
QDialog::reject();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user