Skip to content
Permalink
Browse files
[convert to curve] fix stopDragging
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent 3b2f77b commit d192bfdc990721fb9f1362c7d9ca9d51e33fe6c9
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/app/vertextool/qgsvertextool.cpp
@@ -2586,7 +2586,6 @@ void QgsVertexTool::toggleVertexCurve()

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

stopDragging();
}

QgsVectorLayer *layer = toConvert.layer;

0 comments on commit d192bfd

Please sign in to comment.