Fix progress dialog when switching from indeterminate to setting progress
This commit is contained in:
parent
a631bf192c
commit
47b10e5ffc
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue