mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Comments.
(cherry picked from commit 8a3cbce8f8f14cedbfc88d99b8c429a2fcc7600e)
This commit is contained in:
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…
x
Reference in New Issue
Block a user