Skip to content
Permalink
Browse files

undo: only merge geometry changes on the feature (fixes #8265)

  • Loading branch information
jef-n committed Jul 11, 2013
1 parent f9c1046 commit bd245ee42dba97bf21f130006c9c1c66564b464c
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsvectorlayerundocommand.cpp
@@ -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;

0 comments on commit bd245ee

Please sign in to comment.
You can’t perform that action at this time.