This adds the settings quirk workaround for the pressure import from the
Seabear CSV file.

Signed-off-by: Anton Lundin <[email protected]>
---
 qt-ui/divelogimportdialog.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index deaa612..51112c4 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);
        }
 
-- 
1.9.1

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to