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: