Deleted items must have their ownership changed to undo/redo.
This commit is contained in:
parent
9eb8ec7733
commit
995c4af51d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue