aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-10 20:54:19 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-10 12:40:41 -0700
commitdd924a21edf4856ca96cd89f2793847488b38bed (patch)
treeac0b726ce8b1e10bb182b52f34d2e166438e7626
parent89d74888b395b29cf0ff75b3d844720428300164 (diff)
downloadsubsurface-dd924a21edf4856ca96cd89f2793847488b38bed.tar.gz
Add quirks for Seabear CSV settings for pressure
This adds the settings quirk workaround for the pressure import from the Seabear CSV file. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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);
}