diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-09-02 19:16:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-09-03 13:35:28 -0700 |
commit | 64faa23448f1a18423b306f2b274580568853ccf (patch) | |
tree | 2568982b9ffbd1a743bd12119bb5f19bb0ef08a3 /dives/test1.xml | |
parent | 9376721873f9897dcc2a451b5b8e0c56ca82f939 (diff) | |
download | subsurface-64faa23448f1a18423b306f2b274580568853ccf.tar.gz |
undo: renumber cylinders when deleting a cylinder
Removal of a cylinder requires a renumbering of
cylinders in the core data structures (samples, etc.).
The renumbering was performed in the undo-action of
cylinder removal, but not during actual cylinder removal.
What a mess!
Add the missing call.
Attention: this makes the deletion of sensor-readings
on cylinder-deletion non-undoable!
Undo will have to be fixed in upcoming commits.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives/test1.xml')
0 files changed, 0 insertions, 0 deletions