Skip to content

Commit

Permalink
worked around an issue where clicking on the resize grip of a text it…
Browse files Browse the repository at this point in the history
…em whith stylus tool on text would end in a crash
  • Loading branch information
kaamui committed Nov 4, 2024
1 parent 8740de5 commit 3b38085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/board/UBBoardView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,7 @@ void UBBoardView::mousePressEvent (QMouseEvent *event)
if (dynamic_cast<UBGraphicsTextItem*>(getMovingItem()))
{
mIsCreatingTextZone = false;
UBDrawingController::drawingController()->setStylusTool(UBStylusTool::Selector);
QGraphicsView::mousePressEvent (event);
}
else
Expand Down

0 comments on commit 3b38085

Please sign in to comment.