Skip to content

Commit

Permalink
[offset curve tool] fix tool only working once
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 27, 2017
1 parent 39b5259 commit b0ee642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaptooloffsetcurve.cpp
Expand Up @@ -33,7 +33,6 @@

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

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

0 comments on commit b0ee642

Please sign in to comment.