diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-19 18:48:23 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-06 13:58:09 -0700 |
commit | 4374605c1295ede804d1ae1355094f8a3e0429e9 (patch) | |
tree | c1ab60086a08627a8b3d10f25aef14339e5bc792 /qt-models/divetripmodel.cpp | |
parent | 6ae2d36e381b4f676eb9d8c0e06245989ef16383 (diff) | |
download | subsurface-4374605c1295ede804d1ae1355094f8a3e0429e9.tar.gz |
undo: make adding of pictures undoable
This one is a bit hairy, because two things might happen if the
picture has a geo location:
- A dive gets a newly generated dive site set.
- The dive site of a dive is edited.
Therefore the undo command has to store keep track of that.
Oh my.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.cpp')
0 files changed, 0 insertions, 0 deletions