Skip to content

Commit

Permalink
Use StringHandler::number for time when exporting results to CSV (#9667)
Browse files Browse the repository at this point in the history
Fixes #9664
  • Loading branch information
adeas31 committed Nov 7, 2022
1 parent 13fe6b7 commit 49e33aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp
Expand Up @@ -579,7 +579,7 @@ void PlotWindowContainer::exportVariables()
for (int i = 0 ; i < timeVector.size() ; ++i) {
QStringList data;
// write time data
data << QString::number(timeVector.at(i));
data << StringHandler::number(timeVector.at(i));
foreach (PlotCurve *pPlotCurve, pPlotWindow->getPlot()->getPlotCurvesList()) {
double value;
if (pPlotCurve && pPlotCurve->mYAxisVector.size() > i) { // parameters have just start and stop points in the dataset
Expand Down

0 comments on commit 49e33aa

Please sign in to comment.