From 26be37fe58114dad5f5c7769f6b9d1909b602f2b Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 4 Aug 2018 19:26:51 +0200 Subject: desktop_widget: preferences_graph, replace setBuehlmann setBuehlmann is really planner_deco_mode = BUEHLMANN, change to ensure consistency. Signed-off-by: Jan Iversen --- desktop-widgets/preferences/preferences_graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp index b35893bd3..f3b206826 100644 --- a/desktop-widgets/preferences/preferences_graph.cpp +++ b/desktop-widgets/preferences/preferences_graph.cpp @@ -67,7 +67,7 @@ void PreferencesGraph::syncSettings() auto tech = SettingsObjectWrapper::instance()->techDetails; tech->setModpO2(ui->maxpo2->value()); tech->setRedceiling(ui->red_ceiling->isChecked()); - tech->setBuehlmann(ui->buehlmann->isChecked()); + prefs.planner_deco_mode = ui->buehlmann->isChecked() ? BUEHLMANN : VPMB; tech->setGflow(ui->gflow->value()); tech->setGfhigh(ui->gfhigh->value()); tech->setVpmbConservatism(ui->vpmb_conservatism->value()); -- cgit v1.2.3-70-g09d2