Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/2cb6aa899e768f3cbc9738362fc30bce6d6822ea You should set ROOT_URL correctly, otherwise the web may not work correctly.

fixed issue 5. Magic finger unable keep the selection on last moved object

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 4e958f77e6
commit 2cb6aa899e
  1. 26
      src/board/UBBoardView.cpp

@ -1299,31 +1299,6 @@ void UBBoardView::mouseReleaseEvent (QMouseEvent *event)
QGraphicsView::mouseReleaseEvent (event);
}
}
else if (currentTool == UBStylusTool::Play)
{
if (bIsDesktop) {
event->ignore();
return;
}
if (mWidgetMoved)
{
movingItem = NULL;
mWidgetMoved = false;
}
else
{
if (suspendedMousePressEvent)
{
QGraphicsView::mousePressEvent(suspendedMousePressEvent); // suspendedMousePressEvent is deleted by old Qt event loop
movingItem = NULL;
delete suspendedMousePressEvent;
suspendedMousePressEvent = NULL;
}
}
QGraphicsView::mouseReleaseEvent (event);
}
else if (currentTool == UBStylusTool::Text)
{
UBGraphicsItem *graphicsItem = dynamic_cast<UBGraphicsItem*>(movingItem);
@ -1405,6 +1380,7 @@ void UBBoardView::mouseReleaseEvent (QMouseEvent *event)
}
if (mWidgetMoved) {
movingItem->setSelected(false);
movingItem = NULL;
mWidgetMoved = false;
}

Loading…
Cancel
Save