diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp index 652966374..93c398c09 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp @@ -700,8 +700,7 @@ bool VToolSplinePath::IsMovable(int index) const { const auto splPath = VAbstractTool::data.GeometricObject(m_id); - //index == -1 - can delete, but decided to left - if (index == -1 || index < 1 || index > splPath->CountSubSpl()) + if (index < 1 || index > splPath->CountSubSpl()) { return false; }