[TD]fix uncommanded leader position change

This commit is contained in:
wandererfan
2025-09-15 16:26:01 -04:00
committed by Chris Hennes
parent 140de440cc
commit 919f5fd265
3 changed files with 8 additions and 1 deletions

View File

@@ -228,6 +228,10 @@ QVariant QGIView::itemChange(GraphicsItemChange change, const QVariant &value)
return QGraphicsItemGroup::itemChange(change, value);
}
//! The default behaviour here only applies to views whose (X, Y) describes a position on the page.
//! Others, like QGILeaderLine whose (X, Y) describes a position within a view's boundary and is not
//! draggable, should override this method.
void QGIView::dragFinished()
{
if (!viewObj) {