Allow committing on no errors

This commit is contained in:
Matthias Kuhn 2018-10-03 07:21:33 +02:00
parent 35d7fdc810
commit df11d7f19b
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7

View File

@ -319,6 +319,7 @@ void QgsGeometryValidationService::triggerTopologyChecks( QgsVectorLayer *layer
}
QList<std::shared_ptr<QgsGeometryCheckError>> &allErrors = mLayerChecks[layer].topologyCheckErrors;
allErrors.clear();
QMap<QString, QgsFeatureIds> layerIds;
QgsFeatureRequest request = QgsFeatureRequest( affectedFeatureIds ).setSubsetOfAttributes( QgsAttributeList() );