From c715a22e1c468e2b3924dcd4d09ad5e41a7928b8 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 3 Jul 2019 13:19:32 +0200 Subject: [PATCH] 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. --- eeschema/tools/lib_pin_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/tools/lib_pin_tool.cpp b/eeschema/tools/lib_pin_tool.cpp index e63eda4a75..23c3e35360 100644 --- a/eeschema/tools/lib_pin_tool.cpp +++ b/eeschema/tools/lib_pin_tool.cpp @@ -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