Commit 3b6a7d4e authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Incorrect applying of an auto layout for spline line type'

BUG:414568
FIXED-IN:2.30.0 (KDE Applications 19.12.0)
parent 01dffe12
......@@ -239,6 +239,7 @@ bool LayoutGenerator::apply(UMLScene *scene)
path->removePoint(0);
}
path->setEndPoints(mapToScene(p[0]), mapToScene(p[len-1]));
path->calculateInitialEndPoints();
// set label position
QPointF &l = m_edgeLabelPosition[id];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment