Please sign in to comment.
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.
BIN +0 Bytes (100%) tests/testdata/polys_overlapping_with_id.dbf
Binary file not shown.