TechDraw: Fix selection regressions

This commit is contained in:
Ryan Kembrey
2025-09-03 15:55:49 +10:00
committed by Chris Hennes
parent 1bbc1c805d
commit caa009036a

View File

@@ -78,11 +78,6 @@ bool QGIProjGroup::sceneEventFilter(QGraphicsItem* watched, QEvent *event)
qWatched->setFlag(QGraphicsItem::ItemIsMovable, false);
switch (event->type()) {
case QEvent::GraphicsSceneMousePress:
// TODO - Perhaps just pass the mouse event on to the watched item somehow?
if (scene() && !qWatched->isSelected()) {
scene()->clearSelection();
qWatched->setSelected(true);
}
mousePressEvent(mEvent);
break;
case QEvent::GraphicsSceneMouseMove: