diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-07 21:00:09 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | a9bd0690fe1d6bd841b0ede2ac53b280ef907b93 (patch) | |
tree | 663bd078f59c8e08902b31fe59395b7327728ee7 /desktop-widgets/command.cpp | |
parent | 8c89f6fe1520d9d88fb81acab995ba803f5c4ac1 (diff) | |
download | subsurface-a9bd0690fe1d6bd841b0ede2ac53b280ef907b93.tar.gz |
Undo: implement undo of buddy editing
This was mostly trivial by reusing the code for tag-editing.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r-- | desktop-widgets/command.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index 0f08d0637..f1c0a67dd 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -180,4 +180,9 @@ void editTags(const QVector<dive *> &dives, const QStringList &newList, struct d execute(new EditTags(dives, newList, d)); } +void editBuddies(const QVector<dive *> &dives, const QStringList &newList, struct dive *d) +{ + execute(new EditBuddies(dives, newList, d)); +} + } // namespace Command |