summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-15 20:36:49 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-15 20:36:49 -0700
commit10e66823b007ab89f4179931019bc7ffc514c819 (patch)
treef4c5a0f855f24c0cc0c21fa49ad823be535e687c /xslt
parent0cf55d7e39316b4b3fc271f556e8ff8abfae8db0 (diff)
downloadsubsurface-10e66823b007ab89f4179931019bc7ffc514c819.tar.gz
Improve handling of cylinders with identical gasmix
In reality we have no concept for handling those, yet. But the UI doesn't prevent the user from entering multiple cylinders with the same gasmix, so we need to help the user to get rid of them as well. If the user attempts to remove a cylinder we check if there's a second cylinder with the same gas. If that's the case then we can proceed and remove the cylinder the user wants to get rid of without losing that gas for the dive. The only tricky issue is that we need to make sure that if we remove the first cylinder that one is actually replaced with one with the same gas. Fixes #622 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions