Skip to content

Commit

Permalink
Correctly invalidate single geometry results on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent 5942cf7 commit c0088f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsgeometryvalidationservice.cpp
Expand Up @@ -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>>() );
}
Expand Down

0 comments on commit c0088f7

Please sign in to comment.