From 96bd27ef0f10e0f711dfad43f0b71d784717d1d3 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 25 Feb 2022 21:52:57 +0000 Subject: [PATCH] Initial focus for Get and Place Footprint. Fixes https://gitlab.com/kicad/code/kicad/issues/10230 (cherry picked from commit 714c65275ce6d979c61affad0e0be8086418eb41) --- pcbnew/dialogs/dialog_get_footprint_by_name.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/dialogs/dialog_get_footprint_by_name.h b/pcbnew/dialogs/dialog_get_footprint_by_name.h index 8d119bc6c1..c8cc7c4d19 100644 --- a/pcbnew/dialogs/dialog_get_footprint_by_name.h +++ b/pcbnew/dialogs/dialog_get_footprint_by_name.h @@ -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 ); }