From 47b10e5ffc20de287f7812c3aabbbfc6a8c5e424 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Wed, 18 Oct 2023 21:21:37 +0200 Subject: [PATCH] Fix progress dialog when switching from indeterminate to setting progress --- src/dialog_progress.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialog_progress.cpp b/src/dialog_progress.cpp index bcf4de96d..4568307d1 100644 --- a/src/dialog_progress.cpp +++ b/src/dialog_progress.cpp @@ -246,6 +246,8 @@ void DialogProgress::OnCancel(wxCommandEvent &) { } void DialogProgress::SetProgress(int target) { + pulse_timer.Stop(); + if (target == progress_target) return; using namespace std::chrono;