diff --git a/src/CPPlot.cpp b/src/CPPlot.cpp index f7ea4d213..cc950868c 100644 --- a/src/CPPlot.cpp +++ b/src/CPPlot.cpp @@ -1256,7 +1256,7 @@ CPPlot::setRide(RideItem *rideItem) void CPPlot::pointHover(QwtPlotCurve *curve, int index) { - if (criticalSeries == CriticalPowerWindow::watts && showBest && curve == modelCurve) + if (criticalSeries == CriticalPowerWindow::watts && showBest && curve == modelCurve && modelCurve != NULL) return; // ignore model curve hover if (index >= 0) {