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
1 changed files with 3 additions and 0 deletions

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;
}