From f6eb26dbae7be8a5a8482127ee331ee863f13fc3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 14 Nov 2013 18:36:21 +0900 Subject: 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 --- qt-ui/diveplanner.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/diveplanner.h') 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. */ -- cgit v1.2.3-70-g09d2