forked from qt-creator/qt-creator
QmlDesigner: Fix SelectionIndicator::hide()
Change-Id: I62958b0a470724baeff1cfccd44b4ddacbd70f0e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
aaab74e276
commit
4003018bd6
@@ -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()
|
||||
|
Reference in New Issue
Block a user