diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-01-10 08:41:16 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-10 09:25:57 -0700 |
commit | 79b04a2f01c96ceb1afea73f252e69a6c6d4d033 (patch) | |
tree | a9aed8f13b94faf5fea7aefd09ac00911468f86e /mobile-widgets/qml | |
parent | e700920e8efd23e2101194145d00c9f282a41e6c (diff) | |
download | subsurface-79b04a2f01c96ceb1afea73f252e69a6c6d4d033.tar.gz |
mobile: remove selectedDiveTimeStamp logic
Since the selection is now handled in the core this is not needed anymore.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 8419b5d09..5d52b89ca 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -214,8 +214,6 @@ Kirigami.Page { onCurrentItemChanged: { if (currentItem && currentItem.modelData) { - // this is used when loading dives to maintain relative position in the dive list - manager.selectedDiveTimestamp = currentItem.modelData.date // make sure the core data structures reflect that this dive is selected manager.selectDive(currentItem.modelData.id) // update the map to show the highlighted flag and center on it |