mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
LTMTool nit
.. describing a stress metric as type 'metric' instead of 'stress' in the curves list
This commit is contained in:
@@ -1219,13 +1219,15 @@ LTMTool::refreshCustomTable()
|
||||
foreach (MetricDetail metricDetail, settings->metrics) {
|
||||
|
||||
QTableWidgetItem *t = new QTableWidgetItem();
|
||||
if (metricDetail.type != 5 && metricDetail.type != 6)
|
||||
if (metricDetail.type < 5)
|
||||
t->setText(tr("Metric")); // only metrics .. for now ..
|
||||
else if (metricDetail.type == 5)
|
||||
t->setText(tr("Peak"));
|
||||
else
|
||||
else if (metricDetail.type == 6)
|
||||
t->setText(tr("Estimate"));
|
||||
|
||||
else if (metricDetail.type == 7)
|
||||
t->setText(tr("Stress"));
|
||||
|
||||
t->setFlags(t->flags() & (~Qt::ItemIsEditable));
|
||||
customTable->setItem(i,0,t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user