Skip to content
Permalink
Browse files

Correctly invalidate single geometry results on delete

  • Loading branch information
m-kuhn committed Oct 3, 2018
1 parent 5942cf7 commit c0088f73057b66c463571695ee37d9113676bd5a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsgeometryvalidationservice.cpp
@@ -127,6 +127,8 @@ void QgsGeometryValidationService::onFeatureDeleted( QgsVectorLayer *layer, QgsF
invalidateTopologyChecks( layer );
}

mLayerChecks[layer].singleFeatureCheckErrors.remove( fid );

// There should be no geometry errors on an inexistent feature, right?
emit geometryCheckCompleted( layer, fid, QList<std::shared_ptr<QgsSingleGeometryCheckError>>() );
}

0 comments on commit c0088f7

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