diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-01-23 17:35:27 +0100 |
---|---|---|
committer | Subsurface <dirk@subsurface-divelog.org> | 2017-01-23 22:11:51 -0800 |
commit | c1dc0c9ce0c0b8482dffba0b7becdec44d6f6bec (patch) | |
tree | fb2a6b4adacc0b80cad35d3688ec344dfc3532f6 /core/dive.h | |
parent | 79bba04fd4e6472679e51c4210fd16a2f5292763 (diff) | |
download | subsurface-c1dc0c9ce0c0b8482dffba0b7becdec44d6f6bec.tar.gz |
Allow user to disable a cylinder in planner
In the cylinder table, the last column ("use") always showed
OC-GAS. Editing was enabled, but the user had to guess to enter
a small integer meaning dilluent or CCR oxygen cylingder. I guess,
nobody has ever done that.
This patch makes this column clickable. A click toggles if the cylinder
is used for planning or not. This wait it is much easier to investigate
the consequences of gas loss on a plan.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 3a1492ed9..2578850a6 100644 --- a/core/dive.h +++ b/core/dive.h @@ -56,7 +56,7 @@ extern "C" { extern int last_xml_version; enum dive_comp_type {OC, CCR, PSCR, FREEDIVE, NUM_DC_TYPE}; // Flags (Open-circuit and Closed-circuit-rebreather) for setting dive computer type -enum cylinderuse {OC_GAS, DILUENT, OXYGEN, NUM_GAS_USE}; // The different uses for cylinders +enum cylinderuse {OC_GAS, DILUENT, OXYGEN, NOT_USED, NUM_GAS_USE}; // The different uses for cylinders extern const char *cylinderuse_text[]; extern const char *divemode_text[]; |