Navigation Menu

Skip to content

Commit

Permalink
[convert to curve] missing begin edit command
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent bdfe959 commit a77187f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/vertextool/qgsvertextool.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit a77187f

Please sign in to comment.