Eeschema: Update pins on paste

We use the pin cache to mark the pin locations for future operations.
This needs to be updated after paste.

Fixes: lp:1840286
* https://bugs.launchpad.net/kicad/+bug/1840286
This commit is contained in:
Seth Hillbrand 2019-08-16 07:31:53 -07:00
parent a0ed40876d
commit 3135b63976
1 changed files with 1 additions and 0 deletions

View File

@ -1028,6 +1028,7 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
{ {
SCH_COMPONENT* component = (SCH_COMPONENT*) item; SCH_COMPONENT* component = (SCH_COMPONENT*) item;
component->Resolve( *symLibTable, partLib ); component->Resolve( *symLibTable, partLib );
component->UpdatePins();
} }
else if( item->Type() == SCH_SHEET_T ) else if( item->Type() == SCH_SHEET_T )
{ {