# HG changeset patch # User Chris Cannam # Date 1530193740 -3600 # Node ID fcc1f45f7bd50d744377de55795360b5410344fe # Parent 43a28a52f8ab9bcb9f0eea03af7b78fdec94092b Handle additional case diff -r 43a28a52f8ab -r fcc1f45f7bd5 widgets/CSVFormatDialog.cpp --- 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)); diff -r 43a28a52f8ab -r fcc1f45f7bd5 widgets/CSVFormatDialog.h --- 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"