Clear new flag when creating image pins.
Otherwise if you then move it we'll think it needs to be inserted and end up with a circular drawings list. Fixes https://gitlab.com/kicad/code/kicad/issues/4622
This commit is contained in:
parent
e8079bf655
commit
11ca21039a
|
@ -281,6 +281,7 @@ void LIB_PIN_TOOL::CreateImagePins( LIB_PIN* aPin )
|
|||
|
||||
newPin->SetUnit( ii );
|
||||
aPin->GetParent()->AddDrawItem( newPin );
|
||||
newPin->ClearFlags( IS_NEW );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue