diff options
-rw-r--r-- | desktop-widgets/diveplanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index f4c53d7e8..f84781e96 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -450,12 +450,12 @@ void PlannerSettingsWidget::settingsChanged() if(get_units()->pressure == units::BAR) { ui.reserve_gas->setSuffix(tr("bar")); ui.reserve_gas->setSingleStep(1); - ui.reserve_gas->setMaximum(100); ui.reserve_gas->setValue(prefs.reserve_gas / 1000); + ui.reserve_gas->setMaximum(300); } else { ui.reserve_gas->setSuffix(tr("psi")); ui.reserve_gas->setSingleStep(10); - ui.reserve_gas->setMaximum(1500); + ui.reserve_gas->setMaximum(5000); ui.reserve_gas->setValue(mbar_to_PSI(prefs.reserve_gas)); } |