# HG changeset patch # User Chris Cannam # Date 1579016924 0 # Node ID b33b0b06133e4d3042ffd1edc95c842bc27c5a65 # Parent 77ffd542162700f08821c608cf4c4a4b3846615b# Parent 3943553b95b0703456a72d7897ee7580dae4b47e Merge from branch csv-export-dialog diff -r 3943553b95b0 -r b33b0b06133e layer/Colour3DPlotExporter.cpp --- a/layer/Colour3DPlotExporter.cpp Tue Jan 14 15:41:17 2020 +0000 +++ b/layer/Colour3DPlotExporter.cpp Tue Jan 14 15:48:44 2020 +0000 @@ -229,8 +229,10 @@ list << QString("%1").arg(value); } } - - s += list.join(delimiter) + "\n"; + + if (!list.empty()) { + s += list.join(delimiter) + "\n"; + } } return s;