Skip to content
Permalink
Browse files
[convert to curve] improve interaction while dragging
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent 527042e commit af966754d06f1405f248e3f36245eacc8343519e
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/app/vertextool/qgsvertextool.cpp
@@ -2585,7 +2585,18 @@ void QgsVertexTool::toggleVertexCurve()
}

if ( mDraggingVertex )
{
stopDragging();
if( mDraggingVertexType == AddingVertex || mDraggingVertexType == AddingEndpoint )
{
QgisApp::instance()->messageBar()->pushMessage(
tr( "Could not convert vertex" ),
tr( "Cannot convert vertex before it is added." ),
Qgis::Warning );
return;
}

}

QgsVectorLayer *layer = toConvert.layer;

0 comments on commit af96675

Please sign in to comment.