Fixed multi selection of items in photo editor.

This commit is contained in:
23rd 2021-03-10 13:49:47 +03:00
parent 184d984336
commit 9166423598

View file

@ -152,9 +152,9 @@ void ItemBase::mousePressEvent(QGraphicsSceneMouseEvent *event) {
setZValue((*_lastZ)++); setZValue((*_lastZ)++);
if (event->button() == Qt::LeftButton) { if (event->button() == Qt::LeftButton) {
_handle = handleType(event->pos()); _handle = handleType(event->pos());
if (isHandling()) { }
setCursor(Qt::ClosedHandCursor); if (isHandling()) {
} setCursor(Qt::ClosedHandCursor);
} else { } else {
QGraphicsItem::mousePressEvent(event); QGraphicsItem::mousePressEvent(event);
} }