Fix typo.
This commit is contained in:
parent
3c1478367f
commit
efd004b042
|
@ -401,10 +401,12 @@ bool BOARD_NETLIST_UPDATER::updateFootprintParameters( FOOTPRINT* aPcbFootprint,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if( aNetlistComponent->GetFields().count( field->GetName() ) == 0 )
|
if( aNetlistComponent->GetFields().count( field->GetName() ) == 0 )
|
||||||
|
{
|
||||||
aPcbFootprint->RemoveField( field->GetCanonicalName() );
|
aPcbFootprint->RemoveField( field->GetCanonicalName() );
|
||||||
|
|
||||||
if( m_frame )
|
if( m_frame )
|
||||||
m_frame->GetCanvas()->GetView()->Remove( field );
|
m_frame->GetCanvas()->GetView()->Remove( field );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue