diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-10-06 21:01:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 11:36:23 -0700 |
commit | c479c5ca36648e54f58f782d7af2935f77c693b1 (patch) | |
tree | 9d9ad8cd3fe04a7542556bbea41ba0ab7927da92 /desktop-widgets/tab-widgets/TabDiveEquipment.cpp | |
parent | 7b730602c6ac92c561c5ccb6a0dbf725a70fa963 (diff) | |
download | subsurface-c479c5ca36648e54f58f782d7af2935f77c693b1.tar.gz |
Desktop: use undo command when replanning dive
Instead of copying the displayed dive, generate an undo command.
This makes the replanning an undoable action and fixes a bug
where the dive details have not been updated correctly.
Fixes #2280
Reported-by: Stefan Fuchs <sfuchs@gmx.de>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveEquipment.cpp')
0 files changed, 0 insertions, 0 deletions