From ec620db5959fcdef7239b6d66a2b4593936bce6a Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 22 Aug 2014 19:09:41 +0100 Subject: [PATCH] Fix Crash on Clear during LTM compare seasons .. initialising settings too late. --- src/LTMPlot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LTMPlot.cpp b/src/LTMPlot.cpp index fae6c9d8a..5fae08187 100644 --- a/src/LTMPlot.cpp +++ b/src/LTMPlot.cpp @@ -1190,6 +1190,7 @@ LTMPlot::setCompareData(LTMSettings *set) timer.start(); MAXX=0.0; // maximum value for x, always from 0-n + settings = set; //qDebug()<<"Starting.."<start = QDateTime(cd.start, QTime()); settings->end = QDateTime(cd.end, QTime());