Footprint Editor: don't override field text sizes in editor

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15134
This commit is contained in:
Mike Williams 2023-07-08 16:49:20 -04:00
parent 25445d9fe0
commit bfc3dcbe26
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ FOOTPRINT* PCB_BASE_FRAME::loadFootprint( const LIB_ID& aFootprintId )
// any netinfo list (should be not needed, but it can be edited from the footprint editor )
footprint->ClearAllNets();
if( m_pcb )
if( m_pcb && !IsType( FRAME_FOOTPRINT_EDITOR ) )
footprint->ApplyDefaultFieldSettings( *m_pcb );
}