7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-04 23:35:31 +00:00

Revert "Switch to operator= for item updates"

This reverts commit d0b22d21bb.
This commit is contained in:
Jon Evans 2025-03-28 18:39:49 -04:00
parent 6d0e0312b2
commit 3bac9344d2

View File

@ -478,7 +478,7 @@ HANDLER_RESULT<ItemRequestStatus> API_HANDLER_PCB::handleCreateUpdateItemsIntern
{
BOARD_ITEM* boardItem = *optItem;
commit->Modify( boardItem );
*boardItem = *item;
boardItem->SwapItemData( item.get() );
boardItem->Serialize( newItem );
}