diff --git a/src/core/qgsvectorlayer.cpp b/src/core/qgsvectorlayer.cpp index 5aaefa2084c..3a2ae182b86 100644 --- a/src/core/qgsvectorlayer.cpp +++ b/src/core/qgsvectorlayer.cpp @@ -2340,7 +2340,7 @@ bool QgsVectorLayer::deleteFeatures( QgsFeatureIds fids ) bool res = mEditBuffer->deleteFeatures( fids ); if ( res ) - mSelectedFeatureIds.subtract( fid ); // remove it from selection + mSelectedFeatureIds.subtract( fids ); // remove it from selection updateExtents();