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:
committed by
Dirk Hohndel
parent
e700920e8e
commit
79b04a2f01
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user