mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Be sure OK button of preferences dialog is default
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user