Eeschema Eagle Import: Convert overbar prefix on pins.

This commit is contained in:
Russell Oliver 2017-07-15 00:36:46 +10:00 committed by Maciej Suminski
parent afa5ef0ca6
commit c0c75d4732
1 changed files with 6 additions and 0 deletions

View File

@ -1109,6 +1109,12 @@ void SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode,
pin->SetPartNumber( gateNumber );
pin->SetUnit( gateNumber );
string pinname = pin->GetName().ToStdString();
if(pinname[0] == '!'){
pinname[0] = '~';
pin->SetName( pinname );
}
aPart->AddDrawItem( pin );
break;
}