Skip to content

Commit bd245ee

Browse files
committedJul 11, 2013
undo: only merge geometry changes on the feature (fixes #8265)
1 parent f9c1046 commit bd245ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/core/qgsvectorlayerundocommand.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ bool QgsVectorLayerUndoCommandChangeGeometry::mergeWith( const QUndoCommand *oth
146146
if ( !merge )
147147
return false;
148148

149+
if ( merge->mFid != mFid )
150+
return false;
151+
149152
delete mNewGeom;
150153
mNewGeom = merge->mNewGeom;
151154
merge->mNewGeom = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.