mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 17:39:25 +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.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 =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user