From 50e1e07f4beb300ace0190b3b33695ee61db38ce Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 21 Dec 2020 17:21:01 +0000 Subject: [PATCH] Put pasted part on canvas. Fixes https://gitlab.com/kicad/code/kicad/issues/6793 --- eeschema/symbol_editor/symbol_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eeschema/symbol_editor/symbol_editor.cpp b/eeschema/symbol_editor/symbol_editor.cpp index 90f9a3a40a..3b0e17cf9b 100644 --- a/eeschema/symbol_editor/symbol_editor.cpp +++ b/eeschema/symbol_editor/symbol_editor.cpp @@ -887,6 +887,9 @@ void SYMBOL_EDIT_FRAME::DuplicatePart( bool aFromClipboard ) ensureUniqueName( newPart, lib ); m_libMgr->UpdatePart( newPart, lib ); + + LoadOneLibraryPartAux( newPart, lib, GetUnit(), GetConvert() ); + SyncLibraries( false ); m_treePane->GetLibTree()->SelectLibId( LIB_ID( lib, newPart->GetName() ) );