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
1 changed files with 3 additions and 3 deletions

View File

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