mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 15:53:49 +01:00
Disallow non-numeric chars in numeric input boxes.
Patch by Ed using examples by Martyn & James.
This commit is contained in:
@@ -145,9 +145,9 @@ void QualityPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
S.SetSizeHints(mSampleRateNames);
|
||||
|
||||
// Now do the edit box...
|
||||
mOtherSampleRate = S.TieTextBox(wxT(""),
|
||||
mOtherSampleRateValue,
|
||||
15);
|
||||
mOtherSampleRate = S.TieNumericTextBox(wxT(""),
|
||||
mOtherSampleRateValue,
|
||||
15);
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user