diff options
Diffstat (limited to 'desktop-widgets/preferences/preferences_graph.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |