From c8410eec9c331e7cc1c589c0e42688b575375578 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 9f2ed6233..0d5312a5a 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;