Browse Source

DIALOG_PASTE_SPECIAL: Set focus on OK button

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12285
7.0
Roberto Fernandez Bautista 3 years ago
parent
commit
8a02f2f809
  1. 2
      common/dialogs/dialog_paste_special.cpp

2
common/dialogs/dialog_paste_special.cpp

@ -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();
}

Loading…
Cancel
Save