Preferences: set deco parameters correctly enabled
And fix another bug in this area of the code. It appeared that the gflow/gfhigh and conservatism deco parameters where not enabled at startup, but after toggling the VPM vs BUEHLMANN setting they were. So, fix this as well. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
66c4397efd
commit
cc225a44f2
@ -31,9 +31,11 @@ void PreferencesGraph::refreshSettings()
|
||||
if (prefs.display_deco_mode == BUEHLMANN) {
|
||||
ui->buehlmann->setChecked(true);
|
||||
ui->vpmb->setChecked(false);
|
||||
on_buehlmann_toggled(true);
|
||||
} else {
|
||||
ui->buehlmann->setChecked(false);
|
||||
ui->vpmb->setChecked(true);
|
||||
on_buehlmann_toggled(false);
|
||||
}
|
||||
|
||||
ui->gflow->setValue(prefs.gflow);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user