# HG changeset patch # User Chris Cannam # Date 1536762541 -3600 # Node ID 6d82eecd416413d69319df5e6a9e6a2afcec8299 # Parent 2f14745d8e7bd2ece09a04a4a0a7980923c92edd Rely more heavily on the "value"-column estimation from CSVFormat to determine which columns might contain sample data when importing audio from CSV; this makes things a bit more consistent, & can easily enough be overridden diff -r 2f14745d8e7b -r 6d82eecd4164 main/MainWindow.cpp --- a/main/MainWindow.cpp Wed Sep 12 13:58:33 2018 +0100 +++ b/main/MainWindow.cpp Wed Sep 12 15:29:01 2018 +0100 @@ -2890,12 +2890,6 @@ format.setTimeUnits(CSVFormat::TimeAudioFrames); format.setSampleRate(defaultRate); // as a default for the dialog - for (int i = 0; i < format.getColumnCount(); ++i) { - if (format.isColumnNumeric(CSVFormat::ColumnNumeric)) { - format.setColumnPurpose(i, CSVFormat::ColumnValue); - } - } - { CSVAudioFormatDialog *dialog = new CSVAudioFormatDialog(this, format); if (dialog->exec() != QDialog::Accepted) { diff -r 2f14745d8e7b -r 6d82eecd4164 repoint-lock.json --- a/repoint-lock.json Wed Sep 12 13:58:33 2018 +0100 +++ b/repoint-lock.json Wed Sep 12 15:29:01 2018 +0100 @@ -4,10 +4,10 @@ "pin": "da86fb0bccb3" }, "svcore": { - "pin": "954d0cf29ca7" + "pin": "2d291eac9f21" }, "svgui": { - "pin": "4616e1e89189" + "pin": "f33ee2702447" }, "svapp": { "pin": "5e0018969003"