Skip to content

Commit

Permalink
Update src/app/maptools/qgsmaptoolshapecircleabstract.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 6, 2023
1 parent 4ee3c8b commit fdba204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/maptools/qgsmaptoolshapecircleabstract.cpp
Expand Up @@ -34,7 +34,7 @@ void QgsMapToolShapeCircleAbstract::addCircleToParentTool()

// Check whether to draw the circle as a polygon or a circular string
bool drawAsPolygon = false;
if ( QgsMapLayer* layer = mParentTool->layer() )
if ( QgsMapLayer *layer = mParentTool->layer() )
{
const QgsCoordinateReferenceSystem layerCrs = layer->crs();
const QgsCoordinateReferenceSystem mapCrs = mParentTool->canvas()->mapSettings().destinationCrs();
Expand Down

0 comments on commit fdba204

Please sign in to comment.