mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
ea0c030770
These two actions were using the same command with a flag controlling the name of the command, which is shown in the undo menu. However, the replanDive does much more (such as changing the notes) and in the future we may want to be more fine-grained with respect to profile editing. Therefore, split these commands into two separate ones. Moreover, make the editProfile command more flexible. Pass an enum describing the action instead and also a counter indicating how many points have been moved or removed. Finally, don't consume the input dive in the editProfile command, because we will want to keep the original dive while editing the profile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
command.cpp | ||
command.h | ||
command_base.cpp | ||
command_base.h | ||
command_device.cpp | ||
command_device.h | ||
command_divelist.cpp | ||
command_divelist.h | ||
command_divesite.cpp | ||
command_divesite.h | ||
command_edit.cpp | ||
command_edit.h | ||
command_edit_trip.cpp | ||
command_edit_trip.h | ||
command_event.cpp | ||
command_event.h | ||
command_filter.cpp | ||
command_filter.h | ||
command_pictures.cpp | ||
command_pictures.h |