Planner: don't reset GF when preferences change

The planner has its own view of the gradient factors. So replacing those
with the ones set up for viewing dives in the preferences is wrong.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-06-10 09:28:17 -07:00
parent 445e937a5b
commit e4a9fa74e8

View file

@ -302,8 +302,7 @@ DivePlannerWidget::DivePlannerWidget(QWidget *parent, Qt::WindowFlags f) : QWidg
void DivePlannerWidget::settingsChanged()
{
ui.gflow->setValue(prefs.gflow);
ui.gfhigh->setValue(prefs.gfhigh);
// right now there's nothing special we do when settings change
}
void DivePlannerPointsModel::addCylinder_clicked()