Initial focus for Get and Place Footprint.

Fixes https://gitlab.com/kicad/code/kicad/issues/10230

(cherry picked from commit 714c65275c)
This commit is contained in:
Jeff Young 2022-02-25 21:52:57 +00:00
parent 23351b2046
commit 96bd27ef0f
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ public:
// Hide help string until someone implements successive placement (#2227)
m_multipleHint->Show( false );
SetInitialFocus( m_SearchTextCtrl );
// Dialog should not shrink beyond it's minimal size.
GetSizer()->SetSizeHints( this );
}