1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 09:29:30 +02:00

Remove artificial restriction on default maximum frequency of Spectrogram

This commit is contained in:
martynshaw99 2011-05-22 23:15:23 +00:00
parent b9dcee27e2
commit 86f34d48b4

View File

@ -208,8 +208,8 @@ bool SpectrumPrefs::Validate()
wxMessageBox(_("The maximum frequency must be an integer"));
return false;
}
if (maxFreq < 100 || maxFreq > 100000) {
wxMessageBox(_("Maximum frequency must be in the range 100 Hz - 100,000 Hz"));
if (maxFreq < 100) {
wxMessageBox(_("Maximum frequency must be 100 Hz or above"));
return false;
}