From 2519df805b2fa581318558e161a6d1e068e859bf Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Fri, 7 Sep 2012 11:26:12 +0200 Subject: [PATCH] fixed issue 880 --- src/domain/UBGraphicsScene.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/domain/UBGraphicsScene.cpp b/src/domain/UBGraphicsScene.cpp index f244bae8..6137033d 100644 --- a/src/domain/UBGraphicsScene.cpp +++ b/src/domain/UBGraphicsScene.cpp @@ -1442,6 +1442,7 @@ UBGraphicsTextItem* UBGraphicsScene::textForObjectName(const QString& pString, c textItem->setObjectName(objectName); QSizeF size = textItem->size(); textItem->setPos(QPointF(-size.width()/2.0,-size.height()/2.0)); + textItem->setData(UBGraphicsItemData::ItemEditable,QVariant(false)); } textItem->setPlainText(pString);