Fix AllPlot Fill setting

.. was not always set, lost when removing the reference
   to parent->paintbrush in recent update.
This commit is contained in:
Mark Liversedge
2014-11-14 22:10:51 +00:00
parent e3f67b7830
commit 7d1b59d0a4

View File

@@ -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);