Keep the visibility of the item in sync with m_visible

Change-Id: I9e900b32abd5fba57c27fdfa575230001801570e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Andy Shaw 2017-02-09 11:57:43 +01:00
parent d920dfad07
commit f7b477ad0e
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ void ScatterChartItem::handleUpdated()
m_visible = m_series->isVisible();
m_size = m_series->markerSize();
m_shape = m_series->markerShape();
setVisible(m_visible);
setOpacity(m_series->opacity());
m_pointLabelsFormat = m_series->pointLabelsFormat();
m_pointLabelsVisible = m_series->pointLabelsVisible();