Fix undo of DeMorgan conversion.

This commit is contained in:
Jeff Young 2020-10-21 00:04:04 +01:00
parent 3d135189d3
commit 7a41ff74df
1 changed files with 4 additions and 0 deletions

View File

@ -300,6 +300,10 @@ void SCH_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList, bool aRed
{
case UNDO_REDO::CHANGED:
item->SwapData( alt_item );
if( item->Type() == SCH_COMPONENT_T )
static_cast<SCH_COMPONENT*>( item )->UpdatePins();
break;
case UNDO_REDO::MOVED: