From 89b914e47dc2f996e5bd0d80dfba5e9b00b28631 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Wed, 19 Apr 2017 08:05:28 +0200 Subject: 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 --- desktop-widgets/diveplanner.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/diveplanner.h') 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; -- cgit v1.2.3-70-g09d2