Eeschema: Correctly assign unit when copy/pasting
Fixes: lp:1738656 * https://bugs.launchpad.net/kicad/+bug/1738656
This commit is contained in:
parent
3f24128f17
commit
9413793ef4
|
@ -417,6 +417,7 @@ void LIB_EDIT_FRAME::pasteClipboard( const wxPoint& aOffset )
|
|||
LIB_ITEM* item = (LIB_ITEM*) m_clipboard.GetItem( i )->Clone();
|
||||
item->SetParent( part );
|
||||
item->SetSelected();
|
||||
item->SetUnit( GetUnit() );
|
||||
part->AddDrawItem( item );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue