Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix cursor not immediately updating after splitting a path
Luna Lovecraftd6d25e0564cd
diff --git a/libs/flake/tools/KoPathTool.cpp b/libs/flake/tools/KoPathTool.cppindex cc4c5ceb9c..7430c05fb0 100644--- a/libs/flake/tools/KoPathTool.cpp+++ b/libs/flake/tools/KoPathTool.cpp@@ -809,7 +809,7 @@ void KoPathTool::keyReleaseEvent(QKeyEvent *event)event->accept();}-void KoPathTool::mouseDoubleClickEvent(KoPointerEvent */*event*/)+void KoPathTool::mouseDoubleClickEvent(KoPointerEvent *event){Q_D(KoToolBase);// check if we are doing something else at the moment@@ -829,6 +829,9 @@ void KoPathTool::mouseDoubleClickEvent(KoPointerEvent */*event*/)m_pointSelection.add(p, false);}updateActions();++ // Call a mouse move event to update the cursor and allow the user to drag the new point immediately+ mouseMoveEvent(event);} else if (!m_activeHandle && !m_activeSegment) {explicitUserStrokeEndRequest();}