From 035685d4062622d83a9f785d4e3db975219ecf0b Mon Sep 17 00:00:00 2001 From: Ilia Ryabokon Date: Thu, 12 Dec 2013 15:36:59 +0300 Subject: [PATCH] Text item selection work around --- src/domain/UBGraphicsTextItem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/UBGraphicsTextItem.cpp b/src/domain/UBGraphicsTextItem.cpp index 783640a8..3a4fc0d2 100644 --- a/src/domain/UBGraphicsTextItem.cpp +++ b/src/domain/UBGraphicsTextItem.cpp @@ -201,10 +201,10 @@ void UBGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) if (mMultiClickState == 1) { + QGraphicsTextItem::mouseReleaseEvent(event); + if (Delegate()) Delegate()->mouseReleaseEvent(event); - - QGraphicsTextItem::mouseReleaseEvent(event); } else {