diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/diveplanner.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index 6950d5bc2..8f41b52cc 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -277,6 +277,7 @@ void PlannerSettingsWidget::disableDecoElements(int mode) ui.problemsolvingtime->setValue(0); ui.sacfactor->blockSignals(false); ui.problemsolvingtime->blockSignals(false); + ui.display_variations->setDisabled(true); } else if (mode == VPMB) { ui.label_gflow->setDisabled(true); @@ -309,6 +310,7 @@ void PlannerSettingsWidget::disableDecoElements(int mode) ui.problemsolvingtime->setDisabled(false); ui.sacfactor->setValue(prefs.sacfactor / 100.0); ui.problemsolvingtime->setValue(prefs.problemsolvingtime); + ui.display_variations->setDisabled(false); } else if (mode == BUEHLMANN) { ui.label_gflow->setDisabled(false); @@ -341,6 +343,7 @@ void PlannerSettingsWidget::disableDecoElements(int mode) ui.problemsolvingtime->setDisabled(false); ui.sacfactor->setValue(prefs.sacfactor / 100.0); ui.problemsolvingtime->setValue(prefs.problemsolvingtime); + ui.display_variations->setDisabled(false); } } |