diff options
author | Robert C. Helling <helling@atdotde.de> | 2016-11-02 10:00:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-11-02 05:06:20 -0700 |
commit | c25ca184ec4c60f93bdec98c0f6c1b3113cf1f8d (patch) | |
tree | 2b5dd0e5c12e78587633eaf800578fc3c8daf327 /desktop-widgets/preferences/preferences_graph.cpp | |
parent | f01033f6a06351dca2b59316905fa40102f2c065 (diff) | |
download | subsurface-c25ca184ec4c60f93bdec98c0f6c1b3113cf1f8d.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/preferences/preferences_graph.cpp')
-rw-r--r-- | desktop-widgets/preferences/preferences_graph.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp index c236728a6..062f30a6f 100644 --- a/desktop-widgets/preferences/preferences_graph.cpp +++ b/desktop-widgets/preferences/preferences_graph.cpp @@ -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 |