From db8201717d95517ea5cbfb265f8524c867ace087 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 23 Jun 2023 17:26:17 +0200 Subject: [PATCH] SCH_FIELD::GetCanonicalName() : the name must be the not translated name, previously, it returned the translated string, by definition not the canonical name --- eeschema/sch_field.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_field.cpp b/eeschema/sch_field.cpp index 32991feb1f..e40de04836 100644 --- a/eeschema/sch_field.cpp +++ b/eeschema/sch_field.cpp @@ -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; }