Export description as part of final measurements.

ref #761.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-03 10:40:08 +03:00
parent f122ce479c
commit f636a3899f

View File

@ -1579,11 +1579,13 @@ bool MainWindowsNoGUI::ExportFMeasurementsToCSVData(const QString &fileName, boo
csv.insertColumn(0);
csv.insertColumn(1);
csv.insertColumn(2);
if (withHeader)
{
csv.setHeaderText(0, tr("Name"));
csv.setHeaderText(1, tr("Value"));
csv.setHeaderText(2, tr("Description"));
}
const QVector<VFinalMeasurement> measurements = doc->GetFinalMeasurements();
@ -1631,6 +1633,8 @@ bool MainWindowsNoGUI::ExportFMeasurementsToCSVData(const QString &fileName, boo
return false;
}
}
csv.setText(i, 2, m.description); // description
}
QString error;