aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 9098d868a..95495b663 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -972,6 +972,8 @@ void MainWindow::on_actionDivePlanner_triggered()
if (current_dive)
divePlannerSettingsWidget()->setDiveMode(current_dive->dc.divemode);
DivePictureModel::instance()->updateDivePictures();
+ if (current_dive->salinity)
+ divePlannerWidget()->setSalinity(current_dive->salinity);
divePlannerWidget()->setReplanButton(false);
}