Skip to content

Commit

Permalink
adapt to review
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang committed Jun 5, 2019
1 parent da4a8d2 commit 5da8de2
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 5da8de2

Please sign in to comment.