mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Meter refresh rate not updated when leaving preferences.
This commit is contained in:
parent
f88b27e6d8
commit
21c2e5f994
@ -823,14 +823,14 @@ void Meter::Reset(double sampleRate, bool resetClipping)
|
||||
|
||||
// wxTimers seem to be a little unreliable - sometimes they stop for
|
||||
// no good reason, so this "primes" it every now and then...
|
||||
// mTimer.Stop();
|
||||
mTimer.Stop();
|
||||
|
||||
// While it's stopped, empty the queue
|
||||
mQueue.Clear();
|
||||
|
||||
mLayoutValid = false;
|
||||
|
||||
// mTimer.Start(1000 / mMeterRefreshRate);
|
||||
mTimer.Start(1000 / mMeterRefreshRate);
|
||||
|
||||
Refresh(false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user