mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
desktop_widget: preferences_graph, replace setBuehlmann
setBuehlmann is really planner_deco_mode = BUEHLMANN, change to ensure consistency. Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
e2374e2f81
commit
26be37fe58
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue