summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-10 09:28:17 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-10 09:28:17 -0700
commite4a9fa74e8264be94a53932cf1f53afc5f658507 (patch)
tree2fcd3858b0b2a16b011f9e427f06d2ceb2981185 /qt-ui/diveplanner.cpp
parent445e937a5b27df975b80ff171ecb460f9248b63d (diff)
downloadsubsurface-e4a9fa74e8264be94a53932cf1f53afc5f658507.tar.gz
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>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp3
1 files changed, 1 insertions, 2 deletions
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()