From 7e09a6c7bcb135d65b3e48f2aee44791dd080443 Mon Sep 17 00:00:00 2001 From: Rick Walsh Date: Sat, 24 Sep 2016 18:02:08 +1000 Subject: Separate VPM-B conservatism preference for planner and profile Separate the VPM-B conservatism preference into diveplan.vpmb_conservatism for planning dives and prefs.vpmb_conservatism for profile ceiling display of saved dives. Signed-off-by: Rick Walsh Signed-off-by: Dirk Hohndel --- profile-widget/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget') diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 8894855d7..e077bb727 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -571,7 +571,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) return; } if (prefs.deco_mode == VPMB) - decoModelParameters->setText(QString("VPM-B +%1").arg(prefs.vpmb_conservatism)); + decoModelParameters->setText(QString("VPM-B +%1").arg(diveplan.vpmb_conservatism)); else decoModelParameters->setText(QString("GF %1/%2").arg(diveplan.gflow).arg(diveplan.gfhigh)); #endif -- cgit v1.2.3-70-g09d2