From 4d183e0d75a3ae5b536abb6ea254ba224d713f72 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 14 Mar 2019 00:00:54 +0100 Subject: Undo: implement undo of dive site notes editing Simply copy the code of description 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 1d34d268b..f476a66d0 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -93,6 +93,11 @@ void editDiveSiteDescription(dive_site *ds, const QString &value) execute(new EditDiveSiteDescription(ds, value)); } +void editDiveSiteNotes(dive_site *ds, const QString &value) +{ + execute(new EditDiveSiteNotes(ds, value)); +} + void addDiveSite(const QString &name) { execute(new AddDiveSite(name)); -- cgit v1.2.3-70-g09d2