diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index 9273c0b2..eb7834e5 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -899,7 +899,9 @@ QWidget *UBBoardView::widgetForTabletEvent(QWidget *w, const QPoint &pos) { Q_ASSERT(w); - UBBoardView *board = qobject_cast(w); + // it should work that, but it doesn't. So we check if it is control view. + //UBBoardView *board = qobject_cast(w); + UBBoardView *board = UBApplication::boardController->controlView(); QWidget *childAtPos = NULL;