diff data/fileio/CSVFileReader.cpp @ 1489:8d4f09552ba4 import-audio-data

Call writeComplete on wave file model
author Chris Cannam
date Thu, 28 Jun 2018 15:44:31 +0100
parents 53fa8d57b728
children 9ab8e5ec4731
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.cpp	Thu Jun 28 14:49:46 2018 +0100
+++ b/data/fileio/CSVFileReader.cpp	Thu Jun 28 15:44:31 2018 +0100
@@ -521,6 +521,10 @@
         model3->setMaximumLevel(max);
     }
 
+    if (modelW) {
+        modelW->writeComplete();
+    }
+
     return model;
 }