mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Fix Histogram SEGV and Speed
.. SEGV caused by referencing data->isChecked when not in range mode .. Speed plotting broken because line setting the array length in setData was accidentally deleted
This commit is contained in:
@@ -366,7 +366,7 @@ HistogramWindow::compareChanged()
|
||||
powerHist->setSumY(showSumY->currentIndex()== 0 ? true : false);
|
||||
|
||||
// set data and create empty curves
|
||||
if (data->isChecked()) {
|
||||
if (!rangemode || data->isChecked()) {
|
||||
// using the bests (ride file cache)
|
||||
powerHist->setDataFromCompare();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user