PCB_FIELD::GetCanonicalName() must return the canonical name (not a translation)

This commit is contained in:
jean-pierre charras 2023-06-23 18:48:11 +02:00
parent d8034b9c15
commit f56ea370be
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}