1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

Fix for bug #427

This commit is contained in:
lllucius 2013-09-24 23:24:22 +00:00
parent 0dd0028870
commit 5ec256a6fc

View File

@ -7662,6 +7662,11 @@ void TrackPanel::OnRateOther(wxCommandEvent &event)
cb = S.AddCombo(_("New sample rate (Hz):"), cb = S.AddCombo(_("New sample rate (Hz):"),
rate, rate,
&rates); &rates);
#if defined(__WXMAC__)
// As of wxMac-2.8.12, setting manually is required
// to handle rates not in the list. See: Bug #427
cb->SetValue(rate);
#endif
} }
S.EndHorizontalLay(); S.EndHorizontalLay();
S.AddStandardButtons(); S.AddStandardButtons();