7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Fix typo.

This commit is contained in:
Jeff Young 2023-09-30 23:37:36 +01:00
parent 3c1478367f
commit efd004b042

View File

@ -401,10 +401,12 @@ bool BOARD_NETLIST_UPDATER::updateFootprintParameters( FOOTPRINT* aPcbFootprint,
continue;
if( aNetlistComponent->GetFields().count( field->GetName() ) == 0 )
{
aPcbFootprint->RemoveField( field->GetCanonicalName() );
if( m_frame )
m_frame->GetCanvas()->GetView()->Remove( field );
if( m_frame )
m_frame->GetCanvas()->GetView()->Remove( field );
}
}
}