Only convert overbar syntax on names, refdes and text.
In particular, don't try and convert filenames which may be in windows format. Fixes https://gitlab.com/kicad/code/kicad/issues/git
This commit is contained in:
parent
cd476e1728
commit
799d6690c0
|
@ -157,7 +157,8 @@ std::map<wxString, wxString> ALTIUM_PARSER::ReadProperties()
|
|||
else
|
||||
value = wxString( valueS.c_str(), wxConvISO8859_1 );
|
||||
|
||||
value = AltiumPropertyToKiCadString( value.Trim() );
|
||||
if( key == wxT( "Designator" ) || key == wxT( "Name" ) || key == wxT( "Text" ) )
|
||||
value = AltiumPropertyToKiCadString( value.Trim() );
|
||||
|
||||
kv.insert( { canonicalKey, value.Trim() } );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue