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

Be sure OK button of preferences dialog is default

This commit is contained in:
Paul Licameli 2015-08-21 06:23:33 -04:00
parent 684bd0285c
commit 49ff3ae78f

View File

@ -267,6 +267,7 @@ PrefsDialog::PrefsDialog
S.EndVerticalLay();
S.AddStandardButtons(eOkButton | eCancelButton | eApplyButton);
static_cast<wxButton*>(wxWindow::FindWindowById(wxID_OK, this))->SetDefault();
if (mUniquePage && !mUniquePage->ShowsApplyButton()) {
wxWindow *const applyButton =