aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/divelogimportdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index deaa61273..51112c405 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -114,6 +114,8 @@ void DiveLogImportDialog::on_buttonBox_accepted()
dive->maxtemp.mkelvin = 0;
dive->watertemp.mkelvin = 0;
dive->dc.watertemp.mkelvin = 0;
+ dive->cylinder[0].start.mbar = 0;
+ dive->cylinder[0].sample_start.mbar = 0;
fixup_dive(dive);
}