CADSTAR sch: Include gate in error message when symbols are scaled

This commit is contained in:
Roberto Fernandez Bautista 2021-10-30 20:11:49 +01:00
parent 52a936ac61
commit 18e36155a5
1 changed files with 3 additions and 1 deletions

View File

@ -685,7 +685,9 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances()
wxString symbolName = sym.ComponentRef.Designator; wxString symbolName = sym.ComponentRef.Designator;
if( symbolName.empty() ) if( symbolName.empty() )
symbolName = wxString::Format( "ID: %s", sym.ID); symbolName = wxString::Format( "ID: %s", sym.ID );
else
symbolName += sym.GateID;
m_reporter->Report( wxString::Format( _( "Symbol '%s' is scaled in the original " m_reporter->Report( wxString::Format( _( "Symbol '%s' is scaled in the original "
"CADSTAR schematic but this is not supported " "CADSTAR schematic but this is not supported "