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:
Roberto Fernandez Bautista 2022-08-25 20:25:23 +01:00
parent 9af666ba34
commit 5606714952
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL( wxWindow* aParent,
"with '%s'." ),
aReplacement ) );
m_sdbSizerOK->SetFocus();
// Now all widgets have the size fixed, call FinishDialogSettings
finishDialogSettings();
}