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>
This commit is contained in:
Berthold Stoeger 2020-01-10 08:41:16 +08:00 committed by Dirk Hohndel
parent e700920e8e
commit 79b04a2f01
3 changed files with 0 additions and 15 deletions

View file

@ -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