Mobile: also show busy spinner when applying GPS fixes

That's another function that can take a little while.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-24 20:59:40 -04:00
parent 9b6ec64853
commit 65910177b2

View file

@ -296,6 +296,7 @@ Kirigami.ApplicationWindow {
}
text: qsTr("Apply GPS fixes")
onTriggered: {
showBusy()
manager.applyGpsData()
globalDrawer.close()
diveModel.resetInternalData()
@ -304,6 +305,7 @@ Kirigami.ApplicationWindow {
pageStack.pop()
}
pageStack.push(diveList)
hideBusy()
}
}
Kirigami.Action {