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.h | |
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.h')
-rw-r--r-- | desktop-widgets/command.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h index e94023c81..4ab07b132 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -62,6 +62,7 @@ void editWaterTemp(const QVector<dive *> dives, int newValue, int oldValue); void editDiveSite(const QVector<dive *> dives, struct dive_site *newValue, struct dive_site *oldValue); void editDiveSiteNew(const QVector<dive *> dives, const QString &newName, struct dive_site *oldValue); void editTags(const QVector<dive *> &dives, const QStringList &newList, struct dive *d); +void editBuddies(const QVector<dive *> &dives, const QStringList &newList, struct dive *d); } // namespace Command |