summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/divelogimportdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index d23efbcd1..49b68174e 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -607,6 +607,12 @@ void DiveLogImportDialog::loadFileContents(int value, whatChanged triggeredBy)
headers.replace(20, tr("Notes"));
headers.replace(21, tr("Weight"));
headers.replace(22, tr("Tags"));
+
+ blockSignals(true);
+ ui->CSVSeparator->setCurrentText(separator);
+ ui->DateFormat->setCurrentText("yyyy-mm-dd");
+ ui->DurationFormat->setCurrentText("Minutes:seconds");
+ blockSignals(false);
}
}