Take a stab at fixing #16752.

This commit is contained in:
Jeff Young 2024-01-25 23:45:58 +00:00
parent 4d6bbc8caa
commit b8a2b3b2bf
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ void SCH_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList )
DS_PROXY_UNDO_ITEM alt_item( this );
DS_PROXY_UNDO_ITEM* item = static_cast<DS_PROXY_UNDO_ITEM*>( eda_item );
item->Restore( this );
*item = std::move( alt_item );
*item = alt_item;
}
else if( SCH_ITEM* item = dynamic_cast<SCH_ITEM*>( eda_item ) )
{