From e4a9fa74e8264be94a53932cf1f53afc5f658507 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 10 Jun 2014 09:28:17 -0700 Subject: 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 --- qt-ui/diveplanner.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qt-ui/diveplanner.cpp') diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index f5339c6ef..0030a58cf 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -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() -- cgit v1.2.3-70-g09d2