Commit f796346a authored by Marco Bubke's avatar Marco Bubke

Make the reparent string in the feedback area shorter.

parent 57de5b20
......@@ -180,14 +180,12 @@ void FormEditorGraphicsView::drawForeground(QPainter *painter, const QRectF &/*r
if (!m_feedbackNode.canReparent()) {
painter->setPen(Qt::red);
painter->drawText(QPoint(2.0, 36.0), QString("Cannot reparent."));
painter->drawText(QPoint(2.0, 36.0), QString("Cannot reparent"));
}
} else {
painter->setPen(Qt::yellow);
if (m_feedbackNode.instanceParent().id().isEmpty())
painter->drawText(QPoint(2.0, 36.0), QString("Parent has changed."));
else
painter->drawText(QPoint(2.0, 36.0), QString("Parent has changed to %1.").arg(m_feedbackNode.instanceParent().id()));
painter->drawText(QPoint(2.0, 36.0), QString("Parent changed"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment