From add38a48d0e32f968cbb71ab169bcd50d225e313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Mon, 4 May 2020 10:59:30 +0200 Subject: [PATCH] fixed an issue where the finger selector would not move text items just created --- src/board/UBBoardView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index ce163d10..70fd7368 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -681,7 +681,10 @@ bool UBBoardView::itemShouldBeMoved(QGraphicsItem *item) case UBGraphicsStrokesGroup::Type: return false; case UBGraphicsTextItem::Type: - return !item->isSelected(); + if (currentTool == UBStylusTool::Play) + return true; + else + return !item->isSelected(); } return false;