mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:43:23 +00:00
Mobile: try harder to get the right dive list
This should ensure that the dive list correctly repopulates after the model was updated. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
65910177b2
commit
d709cfb0b8
1 changed files with 4 additions and 2 deletions
|
@ -296,14 +296,16 @@ Kirigami.ApplicationWindow {
|
|||
}
|
||||
text: qsTr("Apply GPS fixes")
|
||||
onTriggered: {
|
||||
showBusy()
|
||||
manager.applyGpsData()
|
||||
globalDrawer.close()
|
||||
showBusy()
|
||||
diveList.diveListModel = null
|
||||
manager.applyGpsData()
|
||||
diveModel.resetInternalData()
|
||||
manager.refreshDiveList()
|
||||
while (pageStack.depth > 1) {
|
||||
pageStack.pop()
|
||||
}
|
||||
diveList.diveListModel = diveModel
|
||||
pageStack.push(diveList)
|
||||
hideBusy()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue