mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 00:30:07 +02:00
Don't use a "magic number"
This commit is contained in:
parent
167f1eac82
commit
5d2ccbc207
@ -229,7 +229,8 @@ void WaveformPrefs::OnApply(wxCommandEvent &)
|
||||
|
||||
void WaveformPrefs::EnableDisableRange()
|
||||
{
|
||||
mRangeChoice->Enable(mScaleChoice->GetSelection() == 1);
|
||||
mRangeChoice->Enable
|
||||
(mScaleChoice->GetSelection() == WaveformSettings::stLogarithmic);
|
||||
}
|
||||
|
||||
BEGIN_EVENT_TABLE(WaveformPrefs, PrefsPanel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user