Preserve dive mode when planning a dive

Data such as cilinders and used gasses are populated fromn the currently
selected dive when starting the planner. It is more logical to use
the dive mode (OC, CCR, pSCR) of the currently selected dive
as well. This commits changes this.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-04-19 08:05:28 +02:00 committed by Dirk Hohndel
parent 9b8fc9f64a
commit 89b914e47d
3 changed files with 9 additions and 0 deletions

View file

@ -85,6 +85,7 @@ slots:
void setBestmixEND(int depth);
void setBackgasBreaks(bool dobreaks);
void disableDecoElements(int mode);
void setDiveMode(int mode);
private:
Ui::plannerSettingsWidget ui;