From d6ddeff44358ca772fbfeec94a3d5c84d1328a7c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 30 Nov 2025 12:50:38 +0000 Subject: [PATCH] Fix initial focus in Label Properties dialog. (cherry picked from commit 84213dff2aba1510e94ef49ec8cf51f9b34f7384) --- eeschema/dialogs/dialog_label_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_label_properties.cpp b/eeschema/dialogs/dialog_label_properties.cpp index 41718c97fa..243209b13c 100644 --- a/eeschema/dialogs/dialog_label_properties.cpp +++ b/eeschema/dialogs/dialog_label_properties.cpp @@ -956,7 +956,7 @@ void DIALOG_LABEL_PROPERTIES::onMultiLabelCheck( wxCommandEvent& event ) wxString multiText = m_valueMultiLine->GetValue(); m_valueCombo->SetValue( multiText.BeforeFirst( '\n' ) ); m_activeTextEntry = m_valueCombo; - SetInitialFocus( m_valueCombo ); + SetInitialFocus( m_valueCombo->GetTextCtrl() ); } } else if( m_currentLabel->Type() == SCH_HIER_LABEL_T )