subsurface/commands
Berthold Stoeger c4bf1ce891 undo: remove only "non-protected" cylinders
The undo-code must take care not to remove used cylinders.
To do so, extend the constructor of EditCylinderBase,
which collects the cylinders and dives to edit, by the
"nonProtectedOnly" boolean argument. If true, only those
cylinders for wich "is_cylinder_prot" returns false
will be added.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-04-07 00:13:35 +02:00
..
CMakeLists.txt
command.cpp undo: add cylinder undo commands by copy & paste 2020-04-07 00:13:34 +02:00
command.h undo: add cylinder undo commands by copy & paste 2020-04-07 00:13:34 +02:00
command_base.cpp undo infrastructure: improve undo command texts 2020-03-10 09:25:57 -07:00
command_base.h undo infrastructure: improve undo command texts 2020-03-10 09:25:57 -07:00
command_divelist.cpp translations: qualify tr function to get correct context 2020-03-22 12:02:48 -07:00
command_divelist.h
command_divesite.cpp translations: qualify tr function to get correct context 2020-03-22 12:02:48 -07:00
command_divesite.h
command_edit.cpp undo: remove only "non-protected" cylinders 2020-04-07 00:13:35 +02:00
command_edit.h undo: remove only "non-protected" cylinders 2020-04-07 00:13:35 +02:00
command_edit_trip.cpp translations: qualify tr function to get correct context 2020-03-22 12:02:48 -07:00
command_edit_trip.h