subsurface/commands
Berthold Stoeger 1a0f6f53ed undo: set dive mode to CCR in undo command, not profile code
When setting a CCR setpoint, the profile code(!) would turn
the dive into a CCR dive. Not only should the display layer
not alter dives, this also means that the action is not
undoable.

Move that to the appropriate undo command, where it makes
more sense, but obviously also makes things more complicated.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-11 09:31:36 -08:00
..
CMakeLists.txt
command.cpp
command.h
command_base.cpp
command_base.h cleanup: fix deprecated QVector constructor 2020-10-26 19:27:03 -07:00
command_device.cpp
command_device.h
command_divelist.cpp filter: internalize shown_dives in DiveFilter class 2020-12-29 08:34:09 -08:00
command_divelist.h
command_divesite.cpp
command_divesite.h
command_edit.cpp undo: add missing invalidate_dive_cache() calls 2021-01-11 08:42:17 -08:00
command_edit.h
command_edit_trip.cpp
command_edit_trip.h
command_event.cpp undo: set dive mode to CCR in undo command, not profile code 2021-01-11 09:31:36 -08:00
command_event.h undo: set dive mode to CCR in undo command, not profile code 2021-01-11 09:31:36 -08:00
command_filter.cpp
command_filter.h
command_pictures.cpp undo: fix annoying warning message when deleting pictures 2020-12-19 20:19:51 +01:00
command_pictures.h