Symbol Editor: clear IS_NEW flag after placing a pin

IS_NEW flag needs to be cleared after a pin is placed, otherwise further
move operations will keep adding the pin to the edited symbol.
This commit is contained in:
Maciej Suminski 2019-07-03 13:19:32 +02:00
parent a2fe319b92
commit c715a22e1c
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ bool LIB_PIN_TOOL::PlacePin( LIB_PIN* aPin )
CreateImagePins( aPin );
part->AddDrawItem( aPin );
aPin->ClearFlags( IS_NEW );
}
// Put linked pins in new position, and clear flags