From 1190e60dd426d246661e478db3287f266ec6cda2 Mon Sep 17 00:00:00 2001 From: Karl Zeilhofer Date: Sun, 9 Feb 2020 03:40:24 +0100 Subject: [PATCH] Fixes issue #3820, text was not selected by default --- eeschema/dialogs/dialog_edit_sheet_pin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_edit_sheet_pin.cpp b/eeschema/dialogs/dialog_edit_sheet_pin.cpp index fd5d2e6905..7cf6ec87ac 100644 --- a/eeschema/dialogs/dialog_edit_sheet_pin.cpp +++ b/eeschema/dialogs/dialog_edit_sheet_pin.cpp @@ -49,7 +49,7 @@ DIALOG_EDIT_SHEET_PIN::DIALOG_EDIT_SHEET_PIN( SCH_EDIT_FRAME* parent, SCH_SHEET_ m_choiceConnectionType->Append( sheetPinType ); m_choiceConnectionType->SetSelection( 0 ); - m_textName->SetFocus(); + SetInitialFocus( m_textName ); m_sdbSizerOK->SetDefault(); // Set invalid label characters list: