From 3b38085e95d9621d92afae079946fc13442cb6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Mon, 4 Nov 2024 16:02:42 +0100 Subject: [PATCH] worked around an issue where clicking on the resize grip of a text item whith stylus tool on text would end in a crash --- src/board/UBBoardView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index b0332b867..e2a9ac4ee 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -1139,6 +1139,7 @@ void UBBoardView::mousePressEvent (QMouseEvent *event) if (dynamic_cast(getMovingItem())) { mIsCreatingTextZone = false; + UBDrawingController::drawingController()->setStylusTool(UBStylusTool::Selector); QGraphicsView::mousePressEvent (event); } else