summaryrefslogtreecommitdiffstats
path: root/stats/statsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r--stats/statsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats/statsview.cpp b/stats/statsview.cpp
index 29ee2d990..83a586456 100644
--- a/stats/statsview.cpp
+++ b/stats/statsview.cpp
@@ -317,7 +317,7 @@ void StatsView::setAxes(StatsAxis *x, StatsAxis *y)
xAxis = x;
yAxis = y;
if (x && y)
- grid = std::make_unique<StatsGrid>(&scene, *x, *y);
+ grid = std::make_unique<StatsGrid>(*this, *x, *y);
}
void StatsView::reset()