Browse Source

Make newly added symbol fields invisible

Also place them coincident with the symbol

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19671
pcb_db
Seth Hillbrand 9 months ago
parent
commit
a1fa0bdb0b
  1. 3
      eeschema/tools/backannotate.cpp

3
eeschema/tools/backannotate.cpp

@ -528,9 +528,10 @@ void BACK_ANNOTATE::applyChangelist()
if( !m_dryRun )
{
SCH_FIELD newField( VECTOR2I( 0, 0 ), symbol->GetFieldCount(), symbol,
SCH_FIELD newField( symbol->GetPosition(), symbol->GetFieldCount(), symbol,
fpFieldName );
newField.SetText( fpFieldValue );
newField.SetVisible( false ); // Don't clutter up the schematic
symbol->AddField( newField );
}

Loading…
Cancel
Save