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>
This commit is contained in:
Berthold Stoeger 2019-02-07 21:00:09 +01:00 committed by Dirk Hohndel
parent 8c89f6fe15
commit a9bd0690fe
6 changed files with 63 additions and 13 deletions

View file

@ -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