diff options
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/DiveSummary.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveSummary.qml b/mobile-widgets/qml/DiveSummary.qml index e827d4f42..3d803074e 100644 --- a/mobile-widgets/qml/DiveSummary.qml +++ b/mobile-widgets/qml/DiveSummary.qml @@ -16,8 +16,11 @@ Kirigami.ScrollablePage { title: qsTr("Dive summary") onVisibleChanged: { - if (visible) + if (visible) { Backend.summaryCalculation(selectionPrimary.currentIndex, selectionSecondary.currentIndex) + firstDive = Backend.firstDiveDate() + lastDive = Backend.lastDiveDate() + } } Connections { target: Backend |