[PATCH 2/3] Planner: Default to GF from prefs.
Anton Lundin
glance at acc.umu.se
Thu Nov 14 10:55:34 UTC 2013
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
qt-ui/diveplanner.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index b5d7f5d..17c10ca 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -945,8 +945,8 @@ DivePlannerWidget::DivePlannerWidget(QWidget* parent, Qt::WindowFlags f): QWidge
ui.ATMPressure->setText( "1013" );
ui.bottomSAC->setText("20");
ui.decoStopSAC->setText("17");
- ui.gflow->setValue(30);
- ui.gfhigh->setValue(75);
+ ui.gflow->setValue(prefs.gflow);
+ ui.gfhigh->setValue(prefs.gfhigh);
setMinimumWidth(0);
setMinimumHeight(0);
--
1.8.3.2
More information about the subsurface
mailing list