summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveSummary.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DiveSummary.qml')
-rw-r--r--mobile-widgets/qml/DiveSummary.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveSummary.qml b/mobile-widgets/qml/DiveSummary.qml
index d55443815..ad6d30372 100644
--- a/mobile-widgets/qml/DiveSummary.qml
+++ b/mobile-widgets/qml/DiveSummary.qml
@@ -15,6 +15,16 @@ Kirigami.ScrollablePage {
if (visible)
Backend.summaryCalculation(selectionPrimary.currentIndex, selectionSecondary.currentIndex)
}
+ Connections {
+ target: Backend
+ onLengthChanged: {
+ Backend.summaryCalculation(selectionPrimary.currentIndex, selectionSecondary.currentIndex)
+ }
+ onVolumeChanged: {
+ Backend.summaryCalculation(selectionPrimary.currentIndex, selectionSecondary.currentIndex)
+ }
+ }
+
GridLayout {
columns: 3