diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-10 09:28:17 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-10 09:28:17 -0700 |
commit | e4a9fa74e8264be94a53932cf1f53afc5f658507 (patch) | |
tree | 2fcd3858b0b2a16b011f9e427f06d2ceb2981185 /qt-ui/diveplanner.cpp | |
parent | 445e937a5b27df975b80ff171ecb460f9248b63d (diff) | |
download | subsurface-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.cpp | 3 |
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() |