Make sure initial focus of label properties dialog is the text input

This commit is contained in:
Jon Evans 2025-07-06 09:28:24 -04:00
parent 0b19a1b6ec
commit 9c28241e45

View File

@ -71,7 +71,7 @@ DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES( SCH_EDIT_FRAME* aParent,
if( m_currentLabel->Type() == SCH_GLOBAL_LABEL_T || m_currentLabel->Type() == SCH_LABEL_T )
{
m_activeTextEntry = m_valueCombo;
SetInitialFocus( m_valueCombo );
SetInitialFocus( m_valueCombo->GetTextCtrl() );
m_labelSingleLine->Show( false );
m_valueSingleLine->Show( false );