mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix compare by time / by distance bug
.. silly typo mean't allplot was being used as a refrence when generating plots instead of fullplot .. this manifests itself as using the wrong plot for the 'bydist' boolean -- this is fine, unless you switch between by time and by distance whilst in compare mode.
This commit is contained in:
@@ -651,7 +651,7 @@ AllPlotWindow::compareChanged()
|
||||
// referencing fullPlot for the user prefs etc
|
||||
AllPlot *ap = new AllPlot(this, context);
|
||||
ap->bydist = fullPlot->bydist;
|
||||
ap->setDataFromObject(compareIntervalCurves[i], allPlot);
|
||||
ap->setDataFromObject(compareIntervalCurves[i], fullPlot);
|
||||
|
||||
// simpler to keep the indexes aligned
|
||||
if (!ci.isChecked()) ap->hide();
|
||||
|
||||
Reference in New Issue
Block a user