Commit 1ed51386 authored by Aleksei Kanash's avatar Aleksei Kanash

Fix to Sankore-799.

parent f2b92ee4
......@@ -577,6 +577,12 @@ void UBBoardView::handleItemMousePress(QMouseEvent *event)
{
mLastPressedMousePos = mapToScene(event->pos());
foreach (QGraphicsItem *item, scene()->items())
{
if (movingItem != item)
item->setSelected(false);
}
if (itemShouldReceiveMousePressEvent(movingItem))
QGraphicsView::mousePressEvent (event);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment