Fixed display of references for duplicate sheets

Display part reference rather than REFERENCE field value
This commit is contained in:
Oliver Walters 2017-04-17 12:08:21 +10:00 committed by Wayne Stambaugh
parent 8dd4aca73b
commit 59470c3b5e
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ bool BOM_TABLE_COMPONENT::AddUnit( SCH_REFERENCE aUnit )
}
break;
case BOM_COL_ID_REFERENCE:
value = cmp->GetField( REFERENCE )->GetText();
value = aUnit.GetRef();
break;
case BOM_COL_ID_VALUE:
value = cmp->GetField( VALUE )->GetText();