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>
This commit is contained in:
Robert C. Helling 2014-05-08 23:36:45 +02:00 committed by Dirk Hohndel
parent 90638180d2
commit 9a4f8b50bd
5 changed files with 33 additions and 0 deletions

View file

@ -120,6 +120,7 @@ public:
void clear();
void update();
void setDive(struct dive *d);
void copyFromDive(struct dive *d);
cylinder_t *cylinderAt(const QModelIndex &index);
bool changed;