diff --git a/common/plugins/altium/altium_parser.cpp b/common/plugins/altium/altium_parser.cpp index 4e57d88fae..1986efffb3 100644 --- a/common/plugins/altium/altium_parser.cpp +++ b/common/plugins/altium/altium_parser.cpp @@ -157,8 +157,12 @@ std::map ALTIUM_PARSER::ReadProperties() else value = wxString( valueS.c_str(), wxConvISO8859_1 ); - if( key == wxT( "Designator" ) || key == wxT( "Name" ) || key == wxT( "Text" ) ) + if( canonicalKey == wxT( "DESIGNATOR" ) + || canonicalKey == wxT( "NAME" ) + || canonicalKey == wxT( "TEXT" ) ) + { value = AltiumPropertyToKiCadString( value.Trim() ); + } kv.insert( { canonicalKey, value.Trim() } ); }