Fix to Sankore-799.

preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent f2b92ee42e
commit 1ed5138662
  1. 6
      src/board/UBBoardView.cpp

@ -577,6 +577,12 @@ void UBBoardView::handleItemMousePress(QMouseEvent *event)
{ {
mLastPressedMousePos = mapToScene(event->pos()); mLastPressedMousePos = mapToScene(event->pos());
foreach (QGraphicsItem *item, scene()->items())
{
if (movingItem != item)
item->setSelected(false);
}
if (itemShouldReceiveMousePressEvent(movingItem)) if (itemShouldReceiveMousePressEvent(movingItem))
QGraphicsView::mousePressEvent (event); QGraphicsView::mousePressEvent (event);
else else

Loading…
Cancel
Save