fixed issue 880

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent dabc747b4d
commit 2519df805b
  1. 1
      src/domain/UBGraphicsScene.cpp

@ -1442,6 +1442,7 @@ UBGraphicsTextItem* UBGraphicsScene::textForObjectName(const QString& pString, c
textItem->setObjectName(objectName); textItem->setObjectName(objectName);
QSizeF size = textItem->size(); QSizeF size = textItem->size();
textItem->setPos(QPointF(-size.width()/2.0,-size.height()/2.0)); textItem->setPos(QPointF(-size.width()/2.0,-size.height()/2.0));
textItem->setData(UBGraphicsItemData::ItemEditable,QVariant(false));
} }
textItem->setPlainText(pString); textItem->setPlainText(pString);

Loading…
Cancel
Save