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:
parent
684bd0285c
commit
49ff3ae78f
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user