Skip to content
Snippets Groups Projects
Commit aa106ad7 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix bug not displaying open arrow on collaboration messages.

This happens when the message line length is zero.

CCBUG:332718
parent 9bdfb1b7
No related branches found
No related tags found
No related merge requests found
......@@ -654,6 +654,9 @@ void AssociationLine::alignSymbols()
const QPointF a = m_points.at(midSegmentIndex);
const QPointF b = m_points.at(midSegmentIndex + 1);
if (a == b)
return;
const QPointF p1 = (a + b) / 2.0;
const QPointF p2 = (p1 + b) / 2.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment