diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-23 20:27:19 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-06-15 11:20:49 -0700 |
commit | 03d5e641e1284b9613f605690d04faf48ac40715 (patch) | |
tree | a58f1a8157af423f9a50f0030f5ed96b86508623 /Documentation | |
parent | 1641147e7b77db69f829cf9b41de4c313d45e3ed (diff) | |
download | subsurface-03d5e641e1284b9613f605690d04faf48ac40715.tar.gz |
Undo: return number of changed dives from undo commands
To enable a "multiple dives edited" message, return the number
of edited dives from dive edit undo commands. Since there are
two kinds of these commands, viz. normal fields and tag fields,
and the former use templates, create a common base class that
can return the number of dives. Yes, the class hierarchy is
getting scarily deep! At least, this gives a tiny bit of
code-reuse.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions