Implement undo for eeschema's "Import existing drawings"
Fixes: lp:1522189 * https://bugs.launchpad.net/kicad/+bug/1522189
This commit is contained in:
parent
2fa5c723d8
commit
17e6720bc9
|
@ -120,6 +120,8 @@ void LIB_EDIT_FRAME::LoadOneSymbol()
|
|||
|
||||
wxCHECK_RET( alias && alias->GetPart(), "Invalid symbol." );
|
||||
|
||||
SaveCopyInUndoList( part );
|
||||
|
||||
LIB_PART* first = alias->GetPart();
|
||||
LIB_ITEMS_CONTAINER& drawList = first->GetDrawItems();
|
||||
|
||||
|
|
Loading…
Reference in New Issue