Fix PerformanceManager curve disappear

.. truncating the front of the sts/lts arrays also
   truncated the xday array which mean't it didn't
   start from 0.

.. left code in there, but commented out with a
   comment to explain in case anyone is tempted to
   add it back in the future.
This commit is contained in:
Mark Liversedge
2013-04-12 23:29:52 +01:00
parent 8c3802103f
commit c3df6184aa

View File

@@ -157,7 +157,10 @@ void StressCalculator::calculateStress(MainWindow *main, QString, const QString
ltsramp.remove(0, firstindex);
stsramp.remove(0, firstindex);
sbvalues.remove(0, firstindex);
xdays.remove(0, firstindex);
//!! no! days always start from 0
//!! so we do not do the bwlow ..
//!! left commented out as an explanation
// xdays.remove(0, firstindex);
list.remove(0, firstindex);
}