mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 16:09:28 +02:00
Fix: Spectrogram gets the wrong default on first run.
This commit is contained in:
parent
649315c644
commit
233f43dd7d
@ -3021,7 +3021,8 @@ void TrackArtist::UpdatePrefs()
|
||||
mdBrange = gPrefs->Read(wxT("/GUI/EnvdBRange"), mdBrange);
|
||||
mShowClipping = gPrefs->Read(wxT("/GUI/ShowClipping"), mShowClipping);
|
||||
|
||||
mMaxFreq = gPrefs->Read(wxT("/Spectrum/MaxFreq"), -1);
|
||||
// mMaxFreq should have the same default as in SpectrumPrefs.
|
||||
mMaxFreq = gPrefs->Read(wxT("/Spectrum/MaxFreq"), 8000L);
|
||||
mMinFreq = gPrefs->Read(wxT("/Spectrum/MinFreq"), -1);
|
||||
mLogMaxFreq = gPrefs->Read(wxT("/SpectrumLog/MaxFreq"), -1);
|
||||
if( mLogMaxFreq < 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user