mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
call computeMetrics, not htmlSummary
This commit is contained in:
@@ -636,7 +636,7 @@ void MainWindow::getBSFactors(float &timeBS, float &distanceBS)
|
||||
) {
|
||||
|
||||
RideMetric *m;
|
||||
item->htmlSummary(); // compute metrics
|
||||
item->computeMetrics();
|
||||
|
||||
QString existing = progress->labelText();
|
||||
existing.chop(progress->labelText().size() - endingOffset);
|
||||
|
||||
@@ -122,7 +122,7 @@ int RideItem::numZones()
|
||||
|
||||
double RideItem::timeInZone(int zone)
|
||||
{
|
||||
htmlSummary();
|
||||
computeMetrics();
|
||||
if (!ride)
|
||||
return 0.0;
|
||||
assert(zone < numZones());
|
||||
|
||||
Reference in New Issue
Block a user