Put pasted part on canvas.
Fixes https://gitlab.com/kicad/code/kicad/issues/6793
This commit is contained in:
parent
9bf952a695
commit
50e1e07f4b
|
@ -887,6 +887,9 @@ void SYMBOL_EDIT_FRAME::DuplicatePart( bool aFromClipboard )
|
||||||
|
|
||||||
ensureUniqueName( newPart, lib );
|
ensureUniqueName( newPart, lib );
|
||||||
m_libMgr->UpdatePart( newPart, lib );
|
m_libMgr->UpdatePart( newPart, lib );
|
||||||
|
|
||||||
|
LoadOneLibraryPartAux( newPart, lib, GetUnit(), GetConvert() );
|
||||||
|
|
||||||
SyncLibraries( false );
|
SyncLibraries( false );
|
||||||
m_treePane->GetLibTree()->SelectLibId( LIB_ID( lib, newPart->GetName() ) );
|
m_treePane->GetLibTree()->SelectLibId( LIB_ID( lib, newPart->GetName() ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue