Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly discard edit commands when calling QgsVectorLayer::destroyEd…
…itCommand() Since it's not directly possible to pop the last command off an QUndoStack (the command which is destroyed/discard by calling this method), we add a dummy obsolete command to force this to occur. Pushing the new command deletes the destroyed one, and since the new command is obsolete it's automatically deleted by the undo stack.
- Loading branch information
Showing with 64 additions and 0 deletions.
There are no files selected for viewing
BIN +0 Bytes (100%) tests/testdata/polys_overlapping_with_id.dbf
Binary file not shown.