subsurface/commands
Berthold Stoeger 72c6b83866 Undo: make weight editing undoable
Implement the EditWeight undo command. Since there is common code
(storage of the old weight), this creates a common base class for
RemoveWeight and EditWeight. The model calls directly into the undo
command, which is somewhat unfortunate as it feels like a layering
violation. It's the easy thing to do for now.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-12-05 10:14:25 -08:00
..
CMakeLists.txt Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command.cpp Undo: make weight editing undoable 2019-12-05 10:14:25 -08:00
command.h Undo: make weight editing undoable 2019-12-05 10:14:25 -08:00
command_base.cpp Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_base.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_divelist.cpp Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command_divelist.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_divesite.cpp Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command_divesite.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_edit.cpp Undo: make weight editing undoable 2019-12-05 10:14:25 -08:00
command_edit.h Undo: make weight editing undoable 2019-12-05 10:14:25 -08:00
command_edit_trip.cpp Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command_edit_trip.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00