Skip to content

Commit

Permalink
adapt to review
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang authored and m-kuhn committed Jun 11, 2019
1 parent 8fe1271 commit d236e62
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gui/qgsmaptoolcapture.cpp
Expand Up @@ -586,11 +586,7 @@ void QgsMapToolCapture::undo()
mCaptureCurve.deleteVertex( vertexToRemove );
mSnappingMatches.removeAt( vertexToRemove.vertex );

// If Cad is enabled, update the points accordingly
if ( mCadDockWidget->cadEnabled() )
{
mCadDockWidget->removePreviousPoint();
}
mCadDockWidget->removePreviousPoint();

validateGeometry();
}
Expand Down

0 comments on commit d236e62

Please sign in to comment.