mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
e700920e8e
commit
79b04a2f01
3 changed files with 0 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue