mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Also grey out labels when not relevant for current deco mode
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f01033f6a0
commit
c25ca184ec
2 changed files with 18 additions and 15 deletions
|
|
@ -88,8 +88,11 @@ void PreferencesGraph::on_buehlmann_toggled(bool buehlmann)
|
|||
{
|
||||
ui->gfhigh->setEnabled(buehlmann);
|
||||
ui->gflow->setEnabled(buehlmann);
|
||||
ui->label_GFhigh->setEnabled(buehlmann);
|
||||
ui->label_GFlow->setEnabled(buehlmann);
|
||||
ui->gf_low_at_maxdepth->setEnabled(buehlmann);
|
||||
ui->vpmb_conservatism->setEnabled(!buehlmann);
|
||||
ui->label_VPMB->setEnabled(!buehlmann);
|
||||
}
|
||||
|
||||
#undef DANGER_GF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue