SCH_FIELD::GetCanonicalName() : the name must be the not translated name,
previously, it returned the translated string, by definition not the canonical name
This commit is contained in:
parent
aa6d9ad69a
commit
db8201717d
|
@ -870,7 +870,7 @@ wxString SCH_FIELD::GetCanonicalName() const
|
|||
if( m_parent && m_parent->Type() == SCH_SYMBOL_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