Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-14 | Refactoring: move undo commands to top level | Berthold Stoeger | |
In the future we might want to use undo-commands for mobile as well (even if not implementing undo). Therefore, move the undo-command source from desktop-widgets to their own commands top-level folder. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | |||
2019-04-12 | Undo: implement undo of dive trip editing | Berthold Stoeger | |
This is copying the dive editing code. It uses an OO design with virtual functions for getting and setting the values. It doesn't use templates though, as both fields of strig type. This feels a bit over-engineered, but it is 1) consistent with the dive edit code and 2) the number / types of dive trip fields might increase. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |