diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-14 23:07:12 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | 5436f9b8590e6022ce2dabefb23ffb037020784a (patch) | |
tree | 7de4df5ccae63f2bf57e95138d06a4f33680c362 /desktop-widgets/subsurfacewebservices.h | |
parent | cddd5942f8accaa612d8e107b45c1bf3d47a5c95 (diff) | |
download | subsurface-5436f9b8590e6022ce2dabefb23ffb037020784a.tar.gz |
Undo: move dive-list logic into edit commands
The edit-commands were called with a list of selected dives and
the original value. Move the creation of the list and extraction
of the original value into the edit-commmands.
This removes the "current is last" rule and allows for more
flexibility.
Since the depth- and duration editing applies only to the current
dive and not all selected dives, add a parameter to the edit-commands
controlling whether only the current or all selected dives are edited.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.h')
0 files changed, 0 insertions, 0 deletions