diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index da316096..87fb2e5f 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -919,6 +919,10 @@ void UBBoardView::mousePressEvent (QMouseEvent *event) event->ignore(); return; } + + if (scene()->backgroundObject() == movingItem) + movingItem = NULL; + connect(&mLongPressTimer, SIGNAL(timeout()), this, SLOT(longPressEvent())); if (!movingItem && !mController->cacheIsVisible()) mLongPressTimer.start();