Set surface pressure and salinity correctly when replanning

We need to initialize the UI elements accordingly.

Fixes #1094

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2016-12-15 23:02:32 +01:00 committed by Dirk Hohndel
parent e182581f77
commit fb2ba72e42
3 changed files with 14 additions and 0 deletions

View file

@ -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;