diff --git a/eeschema/dialogs/dialog_sheet_pin_properties.cpp b/eeschema/dialogs/dialog_sheet_pin_properties.cpp index d73dea54a6..7562de1ff1 100644 --- a/eeschema/dialogs/dialog_sheet_pin_properties.cpp +++ b/eeschema/dialogs/dialog_sheet_pin_properties.cpp @@ -90,7 +90,10 @@ bool DIALOG_SHEET_PIN_PROPERTIES::TransferDataToWindow() for( SCH_ITEM* item : screen->Items().OfType( SCH_HIER_LABEL_T ) ) { - m_comboName->Append( static_cast( item )->GetText() ); + wxString txt = static_cast( item )->GetText(); + + if( m_comboName->FindString( txt, true ) == wxNOT_FOUND ) + m_comboName->Append( txt ); } m_comboName->SetValue( UnescapeString( m_sheetPin->GetText() ) );