diff options
-rw-r--r-- | qt-ui/diveplanner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index c6bb555c0..09d10ca4f 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/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)); } |