PCB: respect styling settings when inserting footprint from editor
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15155
This commit is contained in:
parent
0bc546fa62
commit
3a7de82243
|
@ -991,6 +991,9 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintToBoard( bool aAddNew )
|
|||
fixUuid( const_cast<KIID&>( aChild->m_Uuid ) );
|
||||
} );
|
||||
|
||||
newFootprint->ApplyDefaultSettings( *m_pcb, GetPcbNewSettings()->m_StyleFootprintFields,
|
||||
GetPcbNewSettings()->m_StyleFootprintTextAndGraphics );
|
||||
|
||||
if( sourceFootprint ) // this is an update command
|
||||
{
|
||||
// In the main board the new footprint replaces the old one (pos, orient, ref, value,
|
||||
|
|
Loading…
Reference in New Issue