aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-06 23:20:58 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commit4ae87da58cda895f3573704966ef2e0dd8161864 (patch)
tree80f4367ea5b4a85d7b549598af45b1dd9919d3f2 /core
parente39063f6df269facaad1430229d8b330385f68ff (diff)
downloadsubsurface-4ae87da58cda895f3573704966ef2e0dd8161864.tar.gz
undo: reload dive on removal of gas-switch
If a gas-switch is removed we have to perform the same action as if a gas-switch is added: fixup the dive and signal the changed cylinder and stats. Adapt the RemoveEvent command accordingly. Copy the code of the AddGasSwitch command and simplify for the fact that only ony cylinder can be affected. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions