mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
9b6ec64853
commit
65910177b2
1 changed files with 2 additions and 0 deletions
|
@ -296,6 +296,7 @@ Kirigami.ApplicationWindow {
|
||||||
}
|
}
|
||||||
text: qsTr("Apply GPS fixes")
|
text: qsTr("Apply GPS fixes")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
showBusy()
|
||||||
manager.applyGpsData()
|
manager.applyGpsData()
|
||||||
globalDrawer.close()
|
globalDrawer.close()
|
||||||
diveModel.resetInternalData()
|
diveModel.resetInternalData()
|
||||||
|
@ -304,6 +305,7 @@ Kirigami.ApplicationWindow {
|
||||||
pageStack.pop()
|
pageStack.pop()
|
||||||
}
|
}
|
||||||
pageStack.push(diveList)
|
pageStack.push(diveList)
|
||||||
|
hideBusy()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
|
|
Loading…
Add table
Reference in a new issue