diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index adc66a76..c7d2320c 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -829,7 +829,7 @@ void UBBoardView::handleItemMouseMove(QMouseEvent *event) // a cludge for terminate moving of w3c widgets. // in some cases w3c widgets catches mouse move and doesn't sends that events to web page, // at simple - in google map widget - mouse move events doesn't comes to web page from rectangle of wearch bar on bottom right corner of widget. - if (mWidgetMoved && UBGraphicsW3CWidgetItem::Type == movingItem->type()) + if (movingItem && mWidgetMoved && UBGraphicsW3CWidgetItem::Type == movingItem->type()) movingItem->setPos(posBeforeMove); } }