Commit 7fc95d9b authored by Ralf Habacker's avatar Ralf Habacker

Fix 'Crash on removing association point'.

BUG:358276
FIXED-IN:2.18.2 (KDE Applications 15.12.2)
parent 86d43486
......@@ -126,6 +126,8 @@ void AssociationLine::removePoint(int index)
{
prepareGeometryChange();
m_points.remove(index);
m_activePointIndex = -1;
m_activeSegmentIndex = -1;
alignSymbols();
}
......@@ -170,6 +172,8 @@ void AssociationLine::optimizeLinePoints()
++i;
}
}
m_activePointIndex = -1;
m_activeSegmentIndex = -1;
alignSymbols();
}
......
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