diff data/model/SparseTimeValueModel.h @ 1684:95396c9382e3 single-point

m_haveExtents should be true when extents are set explicitly, otherwise they'll get overridden when a point is added
author Chris Cannam
date Wed, 03 Apr 2019 16:04:03 +0100
parents 0d89abd631ac
children 73077ec5aed6
line wrap: on
line diff
--- a/data/model/SparseTimeValueModel.h	Wed Apr 03 16:03:39 2019 +0100
+++ b/data/model/SparseTimeValueModel.h	Wed Apr 03 16:04:03 2019 +0100
@@ -64,7 +64,7 @@
         m_resolution(resolution),
         m_valueMinimum(valueMinimum),
         m_valueMaximum(valueMaximum),
-        m_haveExtents(false),
+        m_haveExtents(true),
         m_haveTextLabels(false),
         m_notifier(this,
                    notifyOnAdd ?