fix(ProgressDialog): allow finished tasks to be re-displayed once restarted

Cherry-picked from libcurl (lmao)

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2025-11-27 20:18:13 +05:00
parent 8a68c625fb
commit b9fa4ffc00
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -252,10 +252,7 @@ void ProgressDialog::changeStepProgress(TaskStepProgress const& task_progress)
task_bar->setValue(mapped_current);
task_bar->setStatus(task_progress.status);
task_bar->setDetails(task_progress.details);
if (task_progress.isDone()) {
task_bar->setVisible(false);
}
task_bar->setVisible(!task_progress.isDone());
}
void ProgressDialog::changeProgress(qint64 current, qint64 total)