1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-06 23:47:45 +02:00

Meter refresh rate not updated when leaving preferences.

This commit is contained in:
Leland Lucius 2015-04-08 03:03:44 -05:00
parent f88b27e6d8
commit 21c2e5f994

View File

@ -823,14 +823,14 @@ void Meter::Reset(double sampleRate, bool resetClipping)
// wxTimers seem to be a little unreliable - sometimes they stop for // wxTimers seem to be a little unreliable - sometimes they stop for
// no good reason, so this "primes" it every now and then... // no good reason, so this "primes" it every now and then...
// mTimer.Stop(); mTimer.Stop();
// While it's stopped, empty the queue // While it's stopped, empty the queue
mQueue.Clear(); mQueue.Clear();
mLayoutValid = false; mLayoutValid = false;
// mTimer.Start(1000 / mMeterRefreshRate); mTimer.Start(1000 / mMeterRefreshRate);
Refresh(false); Refresh(false);
} }