From b2d1b5b8d28232e9c47489e00063b192680800e1 2012-11-30 11:44:10 From: Michal Klocek Date: 2012-11-30 11:44:10 Subject: [PATCH] Fixes more missing update layout calls --- diff --git a/src/axis/datetimeaxis/chartdatetimeaxisy.cpp b/src/axis/datetimeaxis/chartdatetimeaxisy.cpp index 6bc9e9e..cdcee41 100644 --- a/src/axis/datetimeaxis/chartdatetimeaxisy.cpp +++ b/src/axis/datetimeaxis/chartdatetimeaxisy.cpp @@ -71,12 +71,14 @@ void ChartDateTimeAxisY::updateGeometry() void ChartDateTimeAxisY::handleTickCountChanged(int tick) { Q_UNUSED(tick) + QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } void ChartDateTimeAxisY::handleFormatChanged(const QString &format) { Q_UNUSED(format); + QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); }