Fix initial focus in Label Properties dialog.

(cherry picked from commit 84213dff2a)
This commit is contained in:
Jeff Young
2025-11-30 12:50:38 +00:00
parent 06e1e4c62c
commit d6ddeff443
+1 -1
View File
@@ -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 )