mirror of https://github.com/odrling/Aegisub
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) {
|
void DialogProgress::SetProgress(int target) {
|
||||||
|
pulse_timer.Stop();
|
||||||
|
|
||||||
if (target == progress_target) return;
|
if (target == progress_target) return;
|
||||||
using namespace std::chrono;
|
using namespace std::chrono;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue