DIALOG_PASTE_SPECIAL: Set focus on OK button
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12285
(cherry picked from commit 8a02f2f809
)
This commit is contained in:
parent
9af666ba34
commit
5606714952
|
@ -45,6 +45,8 @@ DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL( wxWindow* aParent,
|
||||||
"with '%s'." ),
|
"with '%s'." ),
|
||||||
aReplacement ) );
|
aReplacement ) );
|
||||||
|
|
||||||
|
m_sdbSizerOK->SetFocus();
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
finishDialogSettings();
|
finishDialogSettings();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue