Update gas deco MOD when deco pO2 is changed

This fix is reasonably straightforward when the divedatapoint structure stores
the cylinder rather than gasmix.

Fixes #970

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Rick Walsh 2016-07-06 22:40:30 +10:00 committed by Dirk Hohndel
parent b827107619
commit 1ba61d7ad5
3 changed files with 20 additions and 0 deletions

View file

@ -35,6 +35,7 @@ public:
void clear();
void updateDive();
void copyFromDive(struct dive *d);
void updateDecoDepths(pressure_t olddecopo2);
cylinder_t *cylinderAt(const QModelIndex &index);
bool changed;