mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 14:13:57 +01:00
Update Normalize.cpp
Allow 2 decimal places in Normalize control (as requested by Gale). I don't see any practical case where this is 'necessary', but it is a user request, there may be some obscure use case, and it does no harm.
This commit is contained in:
@@ -285,7 +285,7 @@ void EffectNormalize::PopulateOrExchange(ShuttleGui & S)
|
||||
mGain ? wxT("true") : wxT("false"));
|
||||
mGainCheckBox->SetValidator(wxGenericValidator(&mGain));
|
||||
|
||||
FloatingPointValidator<double> vldLevel(1, &mLevel);
|
||||
FloatingPointValidator<double> vldLevel(2, &mLevel, NUM_VAL_ONE_TRAILING_ZERO);
|
||||
vldLevel.SetRange(MIN_Level, MAX_Level);
|
||||
mLevelTextCtrl = S.AddTextBox(wxT(""), wxT(""), 10);
|
||||
mLevelTextCtrl->SetName(_("Maximum amplitude dB"));
|
||||
|
||||
Reference in New Issue
Block a user