Skip to content

Commit

Permalink
Save gap exceptions after saving the topological layer
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Nov 17, 2020
1 parent 8c45aad commit cc33ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsgeometryvalidationservice.cpp
Expand Up @@ -281,7 +281,7 @@ void QgsGeometryValidationService::enableLayerChecks( QgsVectorLayer *layer )
{
connect( layer, &QgsVectorLayer::editingStarted, gapsLayer, [gapsLayer] { gapsLayer->startEditing(); } );
connect( layer, &QgsVectorLayer::beforeRollBack, gapsLayer, [gapsLayer] { gapsLayer->rollBack(); } );
connect( layer, &QgsVectorLayer::editingStopped, gapsLayer, [gapsLayer] { gapsLayer->commitChanges(); } );
connect( layer, &QgsVectorLayer::afterCommitChanges, gapsLayer, [gapsLayer] { gapsLayer->commitChanges(); } );
}
else
{
Expand Down

0 comments on commit cc33ba7

Please sign in to comment.