Don't reset the progress animation timer when receiving redundant progress updates
This commit is contained in:
parent
3d21f00356
commit
87501931f6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue