##// END OF EJS Templates
Fix issue with ghost axes being drawn when last axis removed...
Miikka Heikkinen -
r2836:7a48aa2a436d
parent child
Show More
@@ -187,8 +187,10 void CartesianChartAxis::setGeometry(const QRectF &axis, const QRectF &grid)
187 187 m_gridRect = grid;
188 188 setAxisGeometry(axis);
189 189
190 if (isEmpty())
190 if (isEmpty()) {
191 prepareGeometryChange();
191 192 return;
193 }
192 194
193 195 QVector<qreal> layout = calculateLayout();
194 196 updateLayout(layout);
@@ -38,8 +38,10 void PolarChartAxis::setGeometry(const QRectF &axis, const QRectF &grid)
38 38 Q_UNUSED(grid);
39 39 setAxisGeometry(axis);
40 40
41 if (isEmpty())
41 if (isEmpty()) {
42 prepareGeometryChange();
42 43 return;
44 }
43 45
44 46 QVector<qreal> layout = calculateLayout();
45 47 updateLayout(layout);
General Comments 0
You need to be logged in to leave comments. Login now