diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-05-08 23:36:45 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-08 14:58:47 -0700 |
commit | 9a4f8b50bd9b88b00959a08524e1617be1486c95 (patch) | |
tree | 83bba2eacee2f1cd6e72b13e12f0e9e6a3a2a08b /qt-ui/diveplanner.h | |
parent | 90638180d21a7f400e55cb26cbeff59823b884a9 (diff) | |
download | subsurface-9a4f8b50bd9b88b00959a08524e1617be1486c95.tar.gz |
When starting the planner, copy cylinders from currently selected dive.
This way, the user can save dives containing sets of "standard cylinders". Selecting one of those prepopulates the gas list for the planner.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 85b585537..506953275 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -48,6 +48,7 @@ public: void rememberTanks(); bool tankInUse(int o2, int he); void copyCylinders(struct dive *d); + void copyCylindersFrom(struct dive *d); /** * @return the row number. */ |