mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Histogram Compare Fixup
.. remember we can plot for a season and recognise that when checking for isCompareIntervals in PowerHist. .. fixes a SEGV when looking at a histogram in the trends view whilst compare intervals is active in ride view.
This commit is contained in:
@@ -82,7 +82,7 @@ HistogramWindow::HistogramWindow(Context *context, bool rangemode) : GcChartWind
|
||||
// plot
|
||||
QVBoxLayout *vlayout = new QVBoxLayout;
|
||||
vlayout->setSpacing(10);
|
||||
powerHist = new PowerHist(context);
|
||||
powerHist = new PowerHist(context, rangemode);
|
||||
vlayout->addWidget(powerHist);
|
||||
|
||||
setChartLayout(vlayout);
|
||||
|
||||
Reference in New Issue
Block a user