Skip to content

Commit d192bfd

Browse files
olivierdalangnyalldawson
authored andcommitted
[convert to curve] fix stopDragging
1 parent 3b2f77b commit d192bfd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/vertextool/qgsvertextool.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,6 @@ void QgsVertexTool::toggleVertexCurve()
25862586

25872587
if ( mDraggingVertex )
25882588
{
2589-
stopDragging();
25902589
if ( mDraggingVertexType == AddingVertex || mDraggingVertexType == AddingEndpoint )
25912590
{
25922591
QgisApp::instance()->messageBar()->pushMessage(
@@ -2595,7 +2594,7 @@ void QgsVertexTool::toggleVertexCurve()
25952594
Qgis::Warning );
25962595
return;
25972596
}
2598-
2597+
stopDragging();
25992598
}
26002599

26012600
QgsVectorLayer *layer = toConvert.layer;

0 commit comments

Comments
 (0)