Fix selection problem in Front view

This commit is contained in:
wandererfan
2019-04-09 14:43:09 -04:00
committed by WandererFan
parent ade224ca8c
commit e13747c3c6
2 changed files with 2 additions and 5 deletions

View File

@@ -240,4 +240,5 @@ void QGIPrimPath::mousePressEvent(QGraphicsSceneMouseEvent * event)
Base::Console().Log("QGIPP::mousePressEvent - no QGIView parent\n");
}
}
QGraphicsPathItem::mousePressEvent(event);
}

View File

@@ -192,11 +192,7 @@ void QGIView::mousePressEvent(QGraphicsSceneMouseEvent * event)
{
signalSelectPoint(this, event->pos());
if(m_locked) {
event->ignore();
} else {
QGraphicsItem::mousePressEvent(event);
}
QGraphicsItemGroup::mousePressEvent(event);
}
void QGIView::mouseMoveEvent(QGraphicsSceneMouseEvent * event)