From 7d1b59d0a435e89db52e962d4863bdc64d0fbebc Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 14 Nov 2014 22:10:51 +0000 Subject: [PATCH] Fix AllPlot Fill setting .. was not always set, lost when removing the reference to parent->paintbrush in recent update. --- src/AllPlotWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AllPlotWindow.cpp b/src/AllPlotWindow.cpp index 3e63d8f86..04d11d88b 100644 --- a/src/AllPlotWindow.cpp +++ b/src/AllPlotWindow.cpp @@ -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);