Fix overly-generic flag test when synchronizing pins.

Fixes: lp:1832170
* https://bugs.launchpad.net/kicad/+bug/1832170
This commit is contained in:
Jeff Young 2019-06-11 09:29:05 +01:00
parent 09a3c5b280
commit e4d16abcbd
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ bool LIB_PIN_TOOL::PlacePin( LIB_PIN* aPin )
// Put linked pins in new position, and clear flags
for( LIB_PIN* pin = part->GetNextPin(); pin; pin = part->GetNextPin( pin ) )
{
if( pin->GetEditFlags() == 0 )
if( ( pin->GetEditFlags() & IS_LINKED ) == 0 )
continue;
pin->MoveTo( aPin->GetPosition() );