summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-10 17:37:06 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitc82f4487f985a2d3fd832a1acce60fa052f9f246 (patch)
tree56c573892c607ebf1feef3ca7b4c46158decfbb3 /desktop-widgets/tab-widgets/maintab.h
parent02d572226df82ccbdfff3c455c9e5b20a7992bc4 (diff)
downloadsubsurface-c82f4487f985a2d3fd832a1acce60fa052f9f246.tar.gz
Undo: implement undo of depth and duration editing
This was a bit different from the other editing commands: 1) Only the current dive is edited not all selected dives. Therefore, create a function that turns the current dive into a one-element list. 2) The profile has to be replot. Here, likewise, create a function to do that. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index 2cb82b0bd..f9d7417f5 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -81,8 +81,8 @@ slots:
void on_notes_textChanged();
void on_notes_editingFinished();
void on_airtemp_editingFinished();
- void on_duration_textChanged(const QString &text);
- void on_depth_textChanged(const QString &text);
+ void on_duration_editingFinished();
+ void on_depth_editingFinished();
void divetype_Changed(int);
void on_watertemp_editingFinished();
void on_dateEdit_dateChanged(const QDate &date);