LIB_SYMBOL::IsMulti() seems to be wrong, use the iterate conditional as the multi-unit check instead
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16932
This commit is contained in:
parent
9e08e6e4f1
commit
f894a41dc2
|
@ -716,7 +716,7 @@ int EESCHEMA_JOBS_HANDLER::doSymExportSvg( JOB_SYM_EXPORT_SVG* aSvgJob,
|
|||
}
|
||||
|
||||
//simplify the name if its single unit
|
||||
if( symbol->IsMulti() )
|
||||
if( symbol->GetUnitCount() > 1 )
|
||||
{
|
||||
filename += wxString::Format( "_%d", unit );
|
||||
|
||||
|
|
Loading…
Reference in New Issue