From 18e36155a5db8a65111d9fcd404a9a34c7e3ef8c Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Sat, 30 Oct 2021 20:11:49 +0100 Subject: [PATCH] CADSTAR sch: Include gate in error message when symbols are scaled --- eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp index e0e8803b4b..2228490b57 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp @@ -685,7 +685,9 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances() wxString symbolName = sym.ComponentRef.Designator; 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 " "CADSTAR schematic but this is not supported "