mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-07 17:43:53 +01:00
(bug 211) This fix is correct as the "numbers" array has 10 elements, not 12.
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user