diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-06-05 09:29:41 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-06-05 11:29:00 -0700 |
commit | 0b190243dd4463f3c944037b8688372f9cce1c5d (patch) | |
tree | baffc5e0aebfc7947b70ecbf2599ea0917aaafee /core/liquivision.c | |
parent | fd2862042b1aa925bd842f512ee6260865e2f5b1 (diff) | |
download | subsurface-0b190243dd4463f3c944037b8688372f9cce1c5d.tar.gz |
profile: remove internal event-copy (fix deleting/renaming events)
The DiveEventItem had an internal copy of the event. It passed
that copy to the undo-machinery, which of course didn't work.
Simply keep a pointer to the event. All changes to a dive no
pass via the undo-machinery, which causes a reload of the profile,
so this should be safe.
Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/liquivision.c')
0 files changed, 0 insertions, 0 deletions