From fb2ba72e429cd6c39b32eb87ee6c570149243ed5 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Thu, 15 Dec 2016 23:02:32 +0100 Subject: Set surface pressure and salinity correctly when replanning We need to initialize the UI elements accordingly. Fixes #1094 Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- desktop-widgets/diveplanner.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop-widgets/diveplanner.h') diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h index cf3a172c9..91501ceb7 100644 --- a/desktop-widgets/diveplanner.h +++ b/desktop-widgets/diveplanner.h @@ -52,6 +52,8 @@ slots: void heightChanged(const int height); void salinityChanged(const double salinity); void printDecoPlan(); + void setSurfacePressure(int surface_pressure); + void setSalinity(int salinity); private: Ui::DivePlanner ui; -- cgit v1.2.3-70-g09d2