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/locationinformation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/locationinformation.h') diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h index 86b82c3e3..04be64654 100644 --- a/desktop-widgets/locationinformation.h +++ b/desktop-widgets/locationinformation.h @@ -29,7 +29,7 @@ public slots: void enableEdition(); void resetState(); void resetPallete(); - void on_diveSiteCountry_textChanged(const QString& text); + void on_diveSiteCountry_editingFinished(); void on_diveSiteCoordinates_textChanged(const QString& text); void on_diveSiteDescription_editingFinished(); void on_diveSiteName_editingFinished(); -- cgit v1.2.3-70-g09d2