added statement suggested in #259 issue as I didn't found any regression and it seems to solve a systematic crash on Windows according @torinfo

preferencesAboutTextFull
Clément Fauconnier 5 years ago
parent 7998ab58d2
commit 21f59f11cb
  1. 1
      src/board/UBBoardView.cpp

@ -777,6 +777,7 @@ void UBBoardView::handleItemMousePress(QMouseEvent *event)
if ((*it)->pos().x() < 0 || (*it)->pos().y() < 0) if ((*it)->pos().x() < 0 || (*it)->pos().y() < 0)
(*it)->setPos(0,item->boundingRect().size().height()); (*it)->setPos(0,item->boundingRect().size().height());
} }
movingItem = item;
} }
else else
{ {

Loading…
Cancel
Save