diff --git a/src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp b/src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp index aea970df1b4..437f0e30b19 100644 --- a/src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp +++ b/src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp @@ -54,12 +54,16 @@ void SelectionIndicator::show() { foreach (QGraphicsPolygonItem *item, m_indicatorShapeHash) item->show(); + if (m_labelItem) + m_labelItem->show(); } void SelectionIndicator::hide() { foreach (QGraphicsPolygonItem *item, m_indicatorShapeHash) item->hide(); + if (m_labelItem) + m_labelItem->hide(); } void SelectionIndicator::clear()