Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[convert to curve] fix stopDragging
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent 3b2f77b commit d192bfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/vertextool/qgsvertextool.cpp
Expand Up @@ -2586,7 +2586,6 @@ void QgsVertexTool::toggleVertexCurve()

if ( mDraggingVertex )
{
stopDragging();
if ( mDraggingVertexType == AddingVertex || mDraggingVertexType == AddingEndpoint )
{
QgisApp::instance()->messageBar()->pushMessage(
Expand All @@ -2595,7 +2594,7 @@ void QgsVertexTool::toggleVertexCurve()
Qgis::Warning );
return;
}

stopDragging();
}

QgsVectorLayer *layer = toConvert.layer;
Expand Down

0 comments on commit d192bfd

Please sign in to comment.