From 021aa4bd5742c575e56f36fd057e11679aaa35a5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 14 Mar 2019 08:26:50 +0100 Subject: Undo: implement undo of dive site country editing Simply copy the code of notes editing, but use the taxonomy_* functions to read and set the value. Moreover, replace the three TAXONOMY_n field ids by a single TAXONOMY id. We will probably never show one column per taxonomy field, but rather a single column with a string derived from all taxonomy fields. Signed-off-by: Berthold Stoeger --- desktop-widgets/command.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/command.h') diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h index 38b97121b..77209a6bb 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -44,6 +44,7 @@ void deleteDiveSites(const QVector &sites); void editDiveSiteName(dive_site *ds, const QString &value); void editDiveSiteDescription(dive_site *ds, const QString &value); void editDiveSiteNotes(dive_site *ds, const QString &value); +void editDiveSiteCountry(dive_site *ds, const QString &value); void addDiveSite(const QString &name); } // namespace Command -- cgit v1.2.3-70-g09d2