mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use proper sample headings for Seabear CSV import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a4c3e9cdc0
commit
2e77e710a0
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ void DiveLogImportDialog::loadFileContents(int value, whatChanged triggeredBy)
|
||||||
QString firstLine = f.readLine();
|
QString firstLine = f.readLine();
|
||||||
if (firstLine.contains("SEABEAR")) {
|
if (firstLine.contains("SEABEAR")) {
|
||||||
seabear = true;
|
seabear = true;
|
||||||
firstLine = "Time;Depth;NDT;TTS;Ceiling;Temperature;Pressure";
|
firstLine = "Sample time;Sample depth;Sample ndl;Sample tts;Sample stopdepth;Sample temperature;Sample pressure";
|
||||||
}
|
}
|
||||||
QString separator = ui->CSVSeparator->currentText() == tr("Tab") ? "\t" : ui->CSVSeparator->currentText();
|
QString separator = ui->CSVSeparator->currentText() == tr("Tab") ? "\t" : ui->CSVSeparator->currentText();
|
||||||
currColumns = firstLine.split(separator);
|
currColumns = firstLine.split(separator);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue