##// END OF EJS Templates
Fix crash in axis grid animation when animating axis is removed from chart....
Miikka Heikkinen -
r2835:a483852c5c56
parent child
Show More
@@ -101,7 +101,9 void ChartPresenter::handleAxisAdded(QAbstractAxis *axis)
101
101
102 void ChartPresenter::handleAxisRemoved(QAbstractAxis *axis)
102 void ChartPresenter::handleAxisRemoved(QAbstractAxis *axis)
103 {
103 {
104 ChartAxisElement *item = axis->d_ptr->m_item.take();
104 ChartAxisElement *item = axis->d_ptr->m_item.take();
105 if (item->animation())
106 item->animation()->stopAndDestroyLater();
105 item->hide();
107 item->hide();
106 item->disconnect();
108 item->disconnect();
107 item->deleteLater();
109 item->deleteLater();
General Comments 0
You need to be logged in to leave comments. Login now