diff view/Pane.cpp @ 861:59a22f3bf86d

Do not draw the model time extents if the top layer does not have time as its x axis (fixing #1057)
author Chris Cannam
date Thu, 11 Sep 2014 13:53:41 +0100
parents c17719e488c9
children 0cdaf382f21e 7463ece5d5e8
line wrap: on
line diff
--- 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);
     }