Don't reset the progress animation timer when receiving redundant progress updates

This commit is contained in:
Thomas Goyne 2014-03-21 08:39:58 -07:00
parent bd7a71abf4
commit c8410eec9c
1 changed files with 1 additions and 0 deletions

View File

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