diff --git a/apps/opencs/view/render/pathgridmode.cpp b/apps/opencs/view/render/pathgridmode.cpp index a4ab39497..fc16d7d99 100644 --- a/apps/opencs/view/render/pathgridmode.cpp +++ b/apps/opencs/view/render/pathgridmode.cpp @@ -131,9 +131,10 @@ namespace CSVRender if (!selection.empty()) { mDragMode = DragMode_Move; + return true; } - return true; + return false; } bool PathgridMode::secondaryEditStartDrag(const QPoint& pos) @@ -148,10 +149,11 @@ namespace CSVRender mFromNode = SceneUtil::getPathgridNode(static_cast(hit.index0)); tag->getPathgrid()->setupConnectionIndicator(mFromNode); + return true; } } - return true; + return false; } void PathgridMode::drag(const QPoint& pos, int diffX, int diffY, double speedFactor)