From 7a41ff74df928937cfc7091de74ff9aa280edb95 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 21 Oct 2020 00:04:04 +0100 Subject: [PATCH] Fix undo of DeMorgan conversion. --- eeschema/schematic_undo_redo.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/schematic_undo_redo.cpp b/eeschema/schematic_undo_redo.cpp index dd7c1433f9..f6677c1f71 100644 --- a/eeschema/schematic_undo_redo.cpp +++ b/eeschema/schematic_undo_redo.cpp @@ -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( item )->UpdatePins(); + break; case UNDO_REDO::MOVED: