Activity Chart - TCore can be derived from HR

Use of TCore from XDate was introduce by #4207, but when it is not
available it is still derived from HR, so we need to enable Show TCore
in both cases.
Fixes #4832
This commit is contained in:
Alejandro Martinez
2026-03-04 19:44:38 -03:00
parent b716c547cd
commit 1d61643a0b

View File

@@ -2049,7 +2049,7 @@ AllPlotWindow::setAllPlotWidgets(RideItem *ride)
showCad->setEnabled(dataPresent->cad);
showTorque->setEnabled(dataPresent->nm);
showHr->setEnabled(dataPresent->hr);
showTcore->setEnabled(dataPresent->tcore);
showTcore->setEnabled(dataPresent->tcore || dataPresent->hr);
showSpeed->setEnabled(dataPresent->kph);
showAccel->setEnabled(dataPresent->kph);
showAlt->setEnabled(dataPresent->alt);