From b9fa4ffc00327d4929ab89a6096bcf36c74d63c7 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Thu, 27 Nov 2025 20:18:13 +0500 Subject: [PATCH] fix(ProgressDialog): allow finished tasks to be re-displayed once restarted Cherry-picked from libcurl (lmao) Signed-off-by: Octol1ttle --- launcher/ui/dialogs/ProgressDialog.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/launcher/ui/dialogs/ProgressDialog.cpp b/launcher/ui/dialogs/ProgressDialog.cpp index 6aa0b4bdf..0a453bda5 100644 --- a/launcher/ui/dialogs/ProgressDialog.cpp +++ b/launcher/ui/dialogs/ProgressDialog.cpp @@ -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)