diff data/fileio/CSVFileWriter.cpp @ 1824:1cd161242250

Merge
author Chris Cannam
date Tue, 28 Jan 2020 14:34:13 +0000
parents fd5a87f3c5b4
children 21c792334c2e
line wrap: on
line diff
--- a/data/fileio/CSVFileWriter.cpp	Tue Jan 28 14:32:34 2020 +0000
+++ b/data/fileio/CSVFileWriter.cpp	Tue Jan 28 14:34:13 2020 +0000
@@ -85,6 +85,11 @@
     
         QTextStream out(&file);
 
+        if (m_options & DataExportIncludeHeader) {
+            out << m_model->getDelimitedDataHeaderLine(m_delimiter, m_options)
+                << endl;
+        }
+        
         sv_frame_t blockSize = 65536;
 
         if (m_model->isSparse()) {