mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
4e8a838f74
We stored only one cylinder in EditCylinderBase, which is the base class of RemoveCylinder and EditCylinder. This turns out to be too crude: when removing the "same" cylinder from multiple dives, there are some "hidden variables" such as bestmix_o2 or manually_added, which might actually be different. We don't want to overwrite those on undo of delete. Moreover, the cylinder edit is way too crude at the moment, as it overwrites the whole cylinder even when the user edited only a single field. To enable a more refined edit, we have to store each changed cylinder. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
command.cpp | ||
command.h | ||
command_base.cpp | ||
command_base.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 |