Mercurial > hg > svgui
comparison layer/Colour3DPlotExporter.cpp @ 1567:77ffd5421627
Don't write empty lines
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2020 13:19:18 +0000 |
parents | a6a31908bd13 |
children | b33b0b06133e |
comparison
equal
deleted
inserted
replaced
1566:1f80a514ce29 | 1567:77ffd5421627 |
---|---|
233 | 233 |
234 for (auto value: column) { | 234 for (auto value: column) { |
235 list << QString("%1").arg(value); | 235 list << QString("%1").arg(value); |
236 } | 236 } |
237 } | 237 } |
238 | 238 |
239 s += list.join(delimiter) + "\n"; | 239 if (!list.empty()) { |
240 s += list.join(delimiter) + "\n"; | |
241 } | |
240 } | 242 } |
241 | 243 |
242 return s; | 244 return s; |
243 } | 245 } |
244 | 246 |