mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-20 14:20:06 +02:00
Merge pull request #17 from lllucius/fix_meter_refresh
Meter refresh rate not updated when leaving preferences.
This commit is contained in:
commit
c0d49d5e1a
@ -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