Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[offset curve tool] fix tool only working once
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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; |
|
|
} |
|
|