diff options
Diffstat (limited to 'desktop-widgets/diveplanner.cpp')
-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 4e462cca0..7ac88f9bc 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -514,7 +514,10 @@ void PlannerSettingsWidget::setBottomPo2(double po2) void PlannerSettingsWidget::setDecoPo2(double po2) { + pressure_t olddecopo2; + olddecopo2.mbar = prefs.decopo2; prefs.decopo2 = (int) (po2 * 1000.0); + CylindersModel::instance()->updateDecoDepths(olddecopo2); } void PlannerSettingsWidget::setBestmixEND(int depth) |