@@ -120,6 +120,8 void ChartPresenter::handleSeriesRemoved(QAbstractSeries *series) | |||
|
120 | 120 | chart->hide(); |
|
121 | 121 | chart->disconnect(); |
|
122 | 122 | chart->deleteLater(); |
|
123 | if (chart->animation()) | |
|
124 | chart->animation()->stopAndDestroyLater(); | |
|
123 | 125 | m_chartItems.removeAll(chart); |
|
124 | 126 | m_series.removeAll(series); |
|
125 | 127 | m_layout->invalidate(); |
General Comments 0
You need to be logged in to leave comments.
Login now