PCB_FIELD::GetCanonicalName() must return the canonical name (not a translation)
This commit is contained in:
parent
d8034b9c15
commit
f56ea370be
|
@ -73,7 +73,7 @@ wxString PCB_FIELD::GetCanonicalName() const
|
|||
if( m_parent && m_parent->Type() == PCB_FOOTPRINT_T )
|
||||
{
|
||||
if( m_id < MANDATORY_FIELDS )
|
||||
return TEMPLATE_FIELDNAME::GetDefaultFieldName( m_id, true );
|
||||
return TEMPLATE_FIELDNAME::GetDefaultFieldName( m_id, false );
|
||||
else
|
||||
return m_name;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue