Skip to content
Permalink
Browse files
[convert to curve] missing begin edit command
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent bdfe959 commit a77187f7616dc83486d73e808e27c75269f5299b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/vertextool/qgsvertextool.cpp
@@ -2595,7 +2595,10 @@ void QgsVertexTool::toggleVertexCurve()
return;
}

layer->beginEditCommand( tr( "Toggled vertex to/from curve" ) );

QgsGeometry geom = layer->getFeature( toConvert.fid ).geometry();

bool success = geom.toggleCircularAtVertex( toConvert.vertexId );

if ( success )

0 comments on commit a77187f

Please sign in to comment.