Skip to content

Commit

Permalink
Ensure temporary point location is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannQDQ authored and nyalldawson committed Jan 24, 2023
1 parent 4d80fb9 commit 44861d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmeasuretool.cpp
Expand Up @@ -294,6 +294,7 @@ void QgsMeasureTool::addPoint( const QgsPointXY &point )
// Append point that we will be moving.
mPoints.append( pnt );

mRubberBand->movePoint( point );
mRubberBand->addPoint( point );
mRubberBandPoints->addPoint( point );
if ( ! mDone ) // Prevent the insertion of a new item in segments measure table
Expand Down

0 comments on commit 44861d6

Please sign in to comment.