Skip to content

Commit

Permalink
obviously
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 14, 2019
1 parent efc7144 commit d5adcfb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/qgsmaptooltrimextendfeature.cpp
Expand Up @@ -255,8 +255,11 @@ void QgsMapToolTrimExtendFeature::canvasReleaseEvent( QgsMapMouseEvent *e )

match.layer()->beginEditCommand( tr( "Trim/Extend feature" ) );
match.layer()->changeGeometry( match.featureId(), mGeom );
match.layer()->addTopologicalPoints( mIntersection );
mLimitLayer->addTopologicalPoints( mIntersection );
if ( QgsProject::instance()->topologicalEditing() )
{
match.layer()->addTopologicalPoints( mIntersection );
mLimitLayer->addTopologicalPoints( mIntersection );
}
match.layer()->endEditCommand();
match.layer()->triggerRepaint();

Expand Down

0 comments on commit d5adcfb

Please sign in to comment.