aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-04-19 08:05:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-20 10:57:11 -0700
commit89b914e47dc2f996e5bd0d80dfba5e9b00b28631 (patch)
tree580b77014bd8582988c4b24fac656bf8f39df22e /desktop-widgets/diveplanner.h
parent9b8fc9f64a78ac9c80f071a87e15da301375cede (diff)
downloadsubsurface-89b914e47dc2f996e5bd0d80dfba5e9b00b28631.tar.gz
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>
Diffstat (limited to 'desktop-widgets/diveplanner.h')
-rw-r--r--desktop-widgets/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h
index f0cae3e5b..0c8d29b42 100644
--- a/desktop-widgets/diveplanner.h
+++ b/desktop-widgets/diveplanner.h
@@ -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;