summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-28 21:42:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit512a2e6b684e237c5e6aacd3cba42fb7d2093e0a (patch)
tree54b065e2a1f29d99be890df5ed2f916bf2c6ce22 /desktop-widgets/tab-widgets/maintab.h
parentf11ac405933f2bc124dcff05ec44dd6860cf712c (diff)
downloadsubsurface-512a2e6b684e237c5e6aacd3cba42fb7d2093e0a.tar.gz
Undo: implement undo of suit editing
This one was trivially modelled after notes editing. Only difference: the textChanged() signal was replaced by the editingFinished() signal so that we're not generating undo-commands on every key-press. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r--desktop-widgets/tab-widgets/maintab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index 2ac463aec..14a077ba9 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -76,7 +76,7 @@ slots:
void on_location_textChanged();
void on_divemaster_textChanged();
void on_buddy_textChanged();
- void on_suit_textChanged(const QString &text);
+ void on_suit_editingFinished();
void on_diveTripLocation_textEdited(const QString& text);
void on_notes_textChanged();
void on_notes_editingFinished();