mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix AllPlot Fill setting
.. was not always set, lost when removing the reference to parent->paintbrush in recent update.
This commit is contained in:
@@ -3073,6 +3073,7 @@ AllPlotWindow::setupSeriesStackPlots()
|
||||
AllPlot *_allPlot = new AllPlot(this, this, context, x.one, (addHeadwind && x.one == RideFile::kph ? RideFile::headwind : x.two), first);
|
||||
_allPlot->setAutoFillBackground(false);
|
||||
_allPlot->setPalette(palette);
|
||||
_allPlot->setPaintBrush(paintBrush->checkState());
|
||||
_allPlot->setDataFromPlot(allPlot); // will clone all settings and data for the series
|
||||
// being plotted, only works for one series plotting
|
||||
|
||||
@@ -3203,6 +3204,7 @@ AllPlotWindow::setupStackPlots()
|
||||
AllPlot *_allPlot = new AllPlot(this, this, context);
|
||||
_allPlot->setAutoFillBackground(false);
|
||||
_allPlot->setPalette(palette);
|
||||
_allPlot->setPaintBrush(paintBrush->checkState());
|
||||
|
||||
// add to the list
|
||||
allPlots.append(_allPlot);
|
||||
|
||||
Reference in New Issue
Block a user