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:
parent
a0ed40876d
commit
3135b63976
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue