# HG changeset patch # User Chris Cannam # Date 1410440021 -3600 # Node ID 59a22f3bf86dd53418ef46933ebc90e0e56158d6 # Parent d282967236d54945432cdfe5dbce0763d26488cc Do not draw the model time extents if the top layer does not have time as its x axis (fixing #1057) diff -r d282967236d5 -r 59a22f3bf86d view/Pane.cpp --- a/view/Pane.cpp Wed Sep 03 13:12:38 2014 +0100 +++ b/view/Pane.cpp Thu Sep 11 13:53:41 2014 +0100 @@ -469,7 +469,7 @@ m_scaleWidth = 0; - if (workModel) { + if (workModel && hasTopLayerTimeXAxis()) { drawModelTimeExtents(r, paint, workModel); }