mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 23:51:14 +02:00
(bug 211) This fix is correct as the "numbers" array has 10 elements, not 12.
This commit is contained in:
parent
95b89cd122
commit
f455fa3f22
@ -184,7 +184,7 @@ void SelectionBar::Populate()
|
||||
wxDefaultPosition, wxSize(80, -1));
|
||||
mRateBox->SetName(_("Project Rate (Hz):"));
|
||||
wxTextValidator vld(wxFILTER_INCLUDE_CHAR_LIST);
|
||||
vld.SetIncludes(wxArrayString(12, numbers));
|
||||
vld.SetIncludes(wxArrayString(10, numbers));
|
||||
mRateBox->SetValidator(vld);
|
||||
mRateBox->SetValue(wxString::Format(wxT("%d"), (int)mRate));
|
||||
UpdateRates(); // Must be done _after_ setting value on mRateBox!
|
||||
|
Loading…
x
Reference in New Issue
Block a user