Skip to content
Permalink
Browse files

Save gap exceptions after saving the topological layer

  • Loading branch information
m-kuhn authored and nyalldawson committed Nov 17, 2020
1 parent 8c45aad commit cc33ba7cc27ebf6cc386db94ceb51893ca7cb79b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsgeometryvalidationservice.cpp
@@ -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
{

0 comments on commit cc33ba7

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