diff --git a/src/core/geometry/qgslinestringv2.cpp b/src/core/geometry/qgslinestringv2.cpp index 510e8f39641..925c77fa738 100644 --- a/src/core/geometry/qgslinestringv2.cpp +++ b/src/core/geometry/qgslinestringv2.cpp @@ -645,7 +645,7 @@ bool QgsLineStringV2::deleteVertex( const QgsVertexId& position ) mM.remove( position.vertex ); } - if( numPoints() == 1 ) + if ( numPoints() == 1 ) { clear(); }