diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-22 23:27:47 +0100 |
---|---|---|
committer | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-07 00:13:35 +0200 |
commit | 79d117b5bc801038366e245a601bea20d8a5b71b (patch) | |
tree | 957d718d01cce8dfe38efa025acb63e4a60912db /dives/test48+47.xml | |
parent | 20e70646584e71f03e5983660c21e7a7e097cf39 (diff) | |
download | subsurface-79d117b5bc801038366e245a601bea20d8a5b71b.tar.gz |
undo: be more flexible about which cylinders to edit
Currently we use the same_cylinder() function to determine
which cylinders should be edited in a multi-dive edit. Make
this more flexible by introducing a flag-set, such that
the undo-command can select which cylinders are considered
as equal:
- same type
- same pressure
- same gas mix
- same size
Currently both undo commands use same type, pressure and
gas so that the behavior stays unchanged.
The future goal is to split the cylinder-edit undo command
into different commands so that when, for example, editing
the type only the type is considered by not the gas mix.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives/test48+47.xml')
0 files changed, 0 insertions, 0 deletions