mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +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.EndVerticalLay();
|
||||||
|
|
||||||
S.AddStandardButtons(eOkButton | eCancelButton | eApplyButton);
|
S.AddStandardButtons(eOkButton | eCancelButton | eApplyButton);
|
||||||
|
static_cast<wxButton*>(wxWindow::FindWindowById(wxID_OK, this))->SetDefault();
|
||||||
|
|
||||||
if (mUniquePage && !mUniquePage->ShowsApplyButton()) {
|
if (mUniquePage && !mUniquePage->ShowsApplyButton()) {
|
||||||
wxWindow *const applyButton =
|
wxWindow *const applyButton =
|
||||||
|
|||||||
Reference in New Issue
Block a user