diff widgets/CSVFormatDialog.cpp @ 1312:fcc1f45f7bd5 import-audio-data

Handle additional case
author Chris Cannam
date Thu, 28 Jun 2018 14:49:00 +0100
parents a34a2a25907c
children b149b53df365
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));