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
@ -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…
x
Reference in New Issue
Block a user