summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelogimportdialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index 24cb805bb..29138da87 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -665,7 +665,8 @@ void DiveLogImportDialog::on_buttonBox_accepted()
r.indexOf(tr("Sample setpoint")),
ui->CSVSeparator->currentIndex(),
specialCSV.contains(ui->knownImports->currentIndex()) ? CSVApps[ui->knownImports->currentIndex()].name.toUtf8().data() : "csv",
- ui->CSVUnits->currentIndex()
+ ui->CSVUnits->currentIndex(),
+ ui->knownImports->currentText().prepend("\"").append("\"").toUtf8().data()
);
}
}
@@ -716,7 +717,8 @@ void DiveLogImportDialog::on_buttonBox_accepted()
r.indexOf(tr("Sample setpoint")),
ui->CSVSeparator->currentIndex(),
specialCSV.contains(ui->knownImports->currentIndex()) ? CSVApps[ui->knownImports->currentIndex()].name.toUtf8().data() : "csv",
- ui->CSVUnits->currentIndex()
+ ui->CSVUnits->currentIndex(),
+ ui->knownImports->currentText().prepend("\"").append("\"").toUtf8().data()
);
}
}