summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-13 22:49:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit0882ca64b0867e962b2231aed4fc097e8e5754de (patch)
tree94940a1fbf7d4c5814b943eba2858b671a438582 /desktop-widgets/locationinformation.h
parent08d789b933a449f1356275348b8aacdb02942fd5 (diff)
downloadsubsurface-0882ca64b0867e962b2231aed4fc097e8e5754de.tar.gz
Undo: use undo commands for name and description editing in widget
In the dive site widget, use the undo commands instead of editing only on accept. This introduces an inconsistency betwee the name and description and the other fields. This will be fixed in follow-up commits. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
-rw-r--r--desktop-widgets/locationinformation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.h b/desktop-widgets/locationinformation.h
index 9697b4986..b97ceca18 100644
--- a/desktop-widgets/locationinformation.h
+++ b/desktop-widgets/locationinformation.h
@@ -31,8 +31,8 @@ public slots:
void resetPallete();
void on_diveSiteCountry_textChanged(const QString& text);
void on_diveSiteCoordinates_textChanged(const QString& text);
- void on_diveSiteDescription_textChanged(const QString& text);
- void on_diveSiteName_textChanged(const QString& text);
+ void on_diveSiteDescription_editingFinished();
+ void on_diveSiteName_editingFinished();
void on_diveSiteNotes_textChanged();
void reverseGeocode();
void mergeSelectedDiveSites();