Skip to content
Permalink
Browse files

[offset curve tool] fix tool only working once

  • Loading branch information
nirvn committed Oct 25, 2017
1 parent 39b5259 commit b0ee6425565d4518f57c120e9e9e3a14032a3b4e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsmaptooloffsetcurve.cpp
@@ -33,7 +33,6 @@

QgsMapToolOffsetCurve::QgsMapToolOffsetCurve( QgsMapCanvas *canvas )
: QgsMapToolEdit( canvas )
, mOriginalGeometry( nullptr )
, mModifiedFeature( -1 )
, mGeometryModified( false )
, mForceCopy( false )
@@ -351,6 +350,7 @@ void QgsMapToolOffsetCurve::deleteDistanceWidget()

void QgsMapToolOffsetCurve::deleteRubberBandAndGeometry()
{
mOriginalGeometry.set( nullptr );
delete mRubberBand;
mRubberBand = nullptr;
}

0 comments on commit b0ee642

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