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,6 +157,7 @@ std::map<wxString, wxString> ALTIUM_PARSER::ReadProperties()
|
||||||
else
|
else
|
||||||
value = wxString( valueS.c_str(), wxConvISO8859_1 );
|
value = wxString( valueS.c_str(), wxConvISO8859_1 );
|
||||||
|
|
||||||
|
if( key == wxT( "Designator" ) || key == wxT( "Name" ) || key == wxT( "Text" ) )
|
||||||
value = AltiumPropertyToKiCadString( value.Trim() );
|
value = AltiumPropertyToKiCadString( value.Trim() );
|
||||||
|
|
||||||
kv.insert( { canonicalKey, value.Trim() } );
|
kv.insert( { canonicalKey, value.Trim() } );
|
||||||
|
|
Loading…
Reference in New Issue