diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2018-11-14 11:54:11 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2018-11-14 23:14:25 +0000 |
commit | 4003018bd6891bca0df232cc783e9114d30506f2 (patch) | |
tree | 8b5a2aea662db1e86aa41e18a08e0e7555b807cc | |
parent | aaab74e276d5efec03fe86db8604c43a1cb8b17c (diff) | |
download | qt-creator-4003018bd6891bca0df232cc783e9114d30506f2.tar.gz |
QmlDesigner: Fix SelectionIndicator::hide()
Change-Id: I62958b0a470724baeff1cfccd44b4ddacbd70f0e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp b/src/plugins/qmldesigner/components/formeditor/selectionindicator.cpp index aea970df1b..437f0e30b1 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() |