Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 92678b93 authored by Kuntal  Majumder's avatar Kuntal Majumder 😟 Committed by Kuntal Majumder

Fix crash on moving a single lonely anchor

BUG: 422406
parent 00fb1483
......@@ -397,6 +397,11 @@ void KisToolSelectMagnetic::deleteSelectedAnchor()
void KisToolSelectMagnetic::updateSelectedAnchor()
//the only anchor
if (m_anchorPoints.count() == 1) {
// initial
if (m_selectedAnchor == 0 && m_anchorPoints.count() > 1) {
m_pointCollection[m_selectedAnchor] = computeEdgeWrapper(m_anchorPoints[0], m_anchorPoints[1]);
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