Fix progress dialog when switching from indeterminate to setting progress

This commit is contained in:
arch1t3cht 2023-10-18 21:21:37 +02:00
parent a631bf192c
commit 47b10e5ffc
1 changed files with 2 additions and 0 deletions

View File

@ -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;