7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 22:13:44 +00:00

Deleted items must have their ownership changed to undo/redo.

This commit is contained in:
Jeff Young 2024-01-28 11:13:40 +00:00
parent 9eb8ec7733
commit 995c4af51d

View File

@ -399,6 +399,9 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
break;
}
// The item has been removed from the board; it is now owned by undo/redo.
boardItem->SetFlags( UR_TRANSIENT );
break;
}