[PATCH] Fix maximum depth on CSV import

Miika Turkia miika.turkia at gmail.com
Sat Jan 31 08:46:57 PST 2015


Commit d329420d5549e02e32ff4673513329f9dc30650f changed the name of the
header from "Max depth" to "Max. depth", so we need to use that in the
code as well. (The dive profile is not drawn if we do not have max
depth.)

Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 qt-ui/divelogimportdialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index 34ad36a..c79b9df 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -579,7 +579,7 @@ void DiveLogImportDialog::on_buttonBox_accepted()
 						r.indexOf(tr("Duration")),
 						r.indexOf(tr("Location")),
 						r.indexOf(tr("GPS")),
-						r.indexOf(tr("Max depth")),
+						r.indexOf(tr("Max. depth")),
 						r.indexOf(tr("Mean depth")),
 						r.indexOf(tr("Divemaster")),
 						r.indexOf(tr("Buddy")),
-- 
1.9.1



More information about the subsurface mailing list