From a9bd0690fe1d6bd841b0ede2ac53b280ef907b93 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 7 Feb 2019 21:00:09 +0100 Subject: Undo: implement undo of buddy editing This was mostly trivial by reusing the code for tag-editing. Signed-off-by: Berthold Stoeger --- desktop-widgets/command.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'desktop-widgets/command.cpp') 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 &dives, const QStringList &newList, struct d execute(new EditTags(dives, newList, d)); } +void editBuddies(const QVector &dives, const QStringList &newList, struct dive *d) +{ + execute(new EditBuddies(dives, newList, d)); +} + } // namespace Command -- cgit v1.2.3-70-g09d2