diff --git a/eeschema/dialogs/dialog_edit_label.cpp b/eeschema/dialogs/dialog_edit_label.cpp index 07db1c8211..6efcca77b9 100644 --- a/eeschema/dialogs/dialog_edit_label.cpp +++ b/eeschema/dialogs/dialog_edit_label.cpp @@ -269,7 +269,7 @@ wxString convertReferencesToKIIDs( const wxString& aSource ) { SCH_COMPONENT* refComponent = references[ jj ].GetComp(); - if( ref == refComponent->GetRef( &references[ jj ].GetSheetPath() ) ) + if( ref == refComponent->GetRef( &references[ jj ].GetSheetPath(), true ) ) { token = refComponent->m_Uuid.AsString() + ":" + remainder; break;