mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 19:33:44 +00:00
parent
3938c35f17
commit
a156b49e2c
@ -244,6 +244,8 @@ void CLIPBOARD_IO::SaveSelection( const PCB_SELECTION& aSelected, bool isFootpri
|
||||
footprint->SetPosition( copy->GetPosition() );
|
||||
footprint->Add( copy );
|
||||
|
||||
// Convert any mandatory fields to user fields. The destination footprint
|
||||
// will already have its own mandatory fields.
|
||||
if( PCB_FIELD* field = dynamic_cast<PCB_FIELD*>( copy ) )
|
||||
{
|
||||
if( field->IsMandatoryField() )
|
||||
|
Loading…
Reference in New Issue
Block a user