summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-14 18:36:21 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-14 18:36:21 +0900
commitf6eb26dbae7be8a5a8482127ee331ee863f13fc3 (patch)
tree90cc0b128c2a2eceed20301bbcdd5391c0455684 /qt-ui/diveplanner.h
parentdfd17c7a7fd1f5dd85f61a6feef96c616e02cfcb (diff)
downloadsubsurface-f6eb26dbae7be8a5a8482127ee331ee863f13fc3.tar.gz
Handle tank data correctly in profile editing mode for manually added dive
This is subtle. Normally you would expect someone to edit the tank data by simply clicking on it in the equipment tab. But a user could conceivably edit the tank data after clicking on the profile editing button instead. This works now as well. This also addresses the issue that start and end pressure were not shown in profile editing mode. Fixes #235 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index fcb679f89..8f51c932c 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -37,6 +37,7 @@ public:
void tanksUpdated();
void rememberTanks();
bool tankInUse(int o2, int he);
+ void copyCylinders(struct dive *d);
/**
* @return the row number.
*/