changeset 1312:fcc1f45f7bd5 import-audio-data

Handle additional case
author Chris Cannam
date Thu, 28 Jun 2018 14:49:00 +0100
parents 43a28a52f8ab
children c2fa7bb1eca9
files widgets/CSVFormatDialog.cpp widgets/CSVFormatDialog.h
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/CSVFormatDialog.cpp	Thu Jun 28 14:48:48 2018 +0100
+++ b/widgets/CSVFormatDialog.cpp	Thu Jun 28 14:49:00 2018 +0100
@@ -244,6 +244,9 @@
     case CSVFormat::ThreeDimensionalModel:
         s = f->getLayerPresentationName(LayerFactory::Colour3DPlot);
         break;
+    case CSVFormat::WaveFileModel:
+        s = f->getLayerPresentationName(LayerFactory::Waveform);
+        break;
     }   
 
     m_modelLabel->setText("\n" + tr("Data will be displayed in a %1 layer.").arg(s));
--- a/widgets/CSVFormatDialog.h	Thu Jun 28 14:48:48 2018 +0100
+++ b/widgets/CSVFormatDialog.h	Thu Jun 28 14:49:00 2018 +0100
@@ -13,8 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _CSV_FORMAT_DIALOG_H_
-#define _CSV_FORMAT_DIALOG_H_
+#ifndef SV_CSV_FORMAT_DIALOG_H
+#define SV_CSV_FORMAT_DIALOG_H
 
 #include "data/fileio/CSVFormat.h"