From 4003018bd6891bca0df232cc783e9114d30506f2 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 14 Nov 2018 11:54:11 +0100 Subject: [PATCH] QmlDesigner: Fix SelectionIndicator::hide() Change-Id: I62958b0a470724baeff1cfccd44b4ddacbd70f0e Reviewed-by: Tim Jenssen --- .../qmldesigner/components/formeditor/selectionindicator.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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()