Good catch! I'll add the same for 4.5.5 as well.
/D On Sat, Mar 19, 2016 at 01:45:04PM +1100, Rick Walsh wrote: > Currently, the gradient factors displayed at the top of the profile are the > gradient factors set in preferences. This is correct for saved dives, but > when planning dives, the gradient factors displayed at the top of the profile > should be the gradient factors used in the plan. > > Signed-off-by: Rick Walsh <[email protected]> > --- > profile-widget/profilewidget2.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/profile-widget/profilewidget2.cpp > b/profile-widget/profilewidget2.cpp > index 4f665b2..bdf2fff 100644 > --- a/profile-widget/profilewidget2.cpp > +++ b/profile-widget/profilewidget2.cpp > @@ -573,7 +573,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force) > if (prefs.deco_mode == VPMB) > decoModelParameters->setText(QString("VPM-B > +%1").arg(prefs.conservatism_level)); > else > - decoModelParameters->setText(QString("GF > %1/%2").arg(prefs.gflow).arg(prefs.gfhigh)); > + decoModelParameters->setText(QString("GF > %1/%2").arg(diveplan.gflow).arg(diveplan.gfhigh)); > #endif > } > > -- > 2.5.0 > > _______________________________________________ > subsurface mailing list > [email protected] > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
