Skip to content

Commit

Permalink
undo: only merge geometry changes on the feature (fixes #8265)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 11, 2013
1 parent f9c1046 commit bd245ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsvectorlayerundocommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ bool QgsVectorLayerUndoCommandChangeGeometry::mergeWith( const QUndoCommand *oth
if ( !merge )
return false;

if ( merge->mFid != mFid )
return false;

delete mNewGeom;
mNewGeom = merge->mNewGeom;
merge->mNewGeom = 0;
Expand Down

0 comments on commit bd245ee

Please sign in to comment.