Fix LTM Zone display

.. when no data.
This commit is contained in:
Mark Liversedge
2014-05-25 16:50:56 +01:00
parent 153e11e868
commit abc49fdef4

View File

@@ -288,7 +288,7 @@ LTMPlot::setData(LTMSettings *set)
setAxisVisible(QwtAxis::xTop, false);
// remove the shading if it exists
refreshZoneLabels(-1);
refreshZoneLabels(QwtAxisId(-1,-1)); // turn em off
// remove the old markers
refreshMarkers(settings, settings->start.date(), settings->end.date(), settings->groupBy, GColor(CPLOTMARKER));