[TD]fix uncommanded leader position change
This commit is contained in:
committed by
Chris Hennes
parent
140de440cc
commit
919f5fd265
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user