summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveStatistics.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-05 11:55:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-06 11:44:22 -0700
commit9298466037dd7ac80e65407eac93bfe62705f1ac (patch)
treed67e375d2d2aa285615c6cdc91ef3b1094841eb2 /desktop-widgets/tab-widgets/TabDiveStatistics.h
parent16a35a8bbe2bd16398667795fe3f5c4a41beaf3e (diff)
downloadsubsurface-9298466037dd7ac80e65407eac93bfe62705f1ac.tar.gz
desktop: update statistics tab when cylinders changed
The cylinder-based statistics where not updated when an undo command edited cylinder data. Do so. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveStatistics.h')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveStatistics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveStatistics.h b/desktop-widgets/tab-widgets/TabDiveStatistics.h
index 781478367..8d764d4ed 100644
--- a/desktop-widgets/tab-widgets/TabDiveStatistics.h
+++ b/desktop-widgets/tab-widgets/TabDiveStatistics.h
@@ -19,6 +19,7 @@ public:
private slots:
void divesChanged(const QVector<dive *> &dives, DiveField field);
+ void cylinderChanged(dive *d);
private:
Ui::TabDiveStatistics *ui;