From 87501931f6297f203f6a3d46bf2a724f3d664c63 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 21 Mar 2014 08:39:58 -0700 Subject: [PATCH] Don't reset the progress animation timer when receiving redundant progress updates --- src/dialog_progress.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dialog_progress.cpp b/src/dialog_progress.cpp index 48321132a..6aca6828f 100644 --- a/src/dialog_progress.cpp +++ b/src/dialog_progress.cpp @@ -233,6 +233,7 @@ void DialogProgress::OnCancel(wxCommandEvent &) { } void DialogProgress::SetProgress(int target) { + if (target == progress_target) return; using namespace std::chrono; progress_anim_start_value = progress_current;