mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Fix Column Chooser 'Z' fields
.. a throwback from the old SQL model days and not required any more. Also helps to explain issues with calendar text.
This commit is contained in:
@@ -194,13 +194,13 @@ RideCacheModel::configChanged(qint32)
|
||||
|
||||
// is a metric
|
||||
int i=section-5;
|
||||
headings_<< QString("X%1").arg(factory->metricName(i));
|
||||
headings_<< QString("%1").arg(factory->metricName(i));
|
||||
|
||||
} else {
|
||||
|
||||
// is a metadata
|
||||
int i= section -5 - factory->metricCount();
|
||||
headings_<< QString("Z%1").arg(context->specialFields.makeTechName(metadata[i].name));
|
||||
headings_<< QString("%1").arg(context->specialFields.makeTechName(metadata[i].name));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user