summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-24 20:59:40 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-26 11:38:26 -0700
commit65910177b26cc6fdc28f28b76be28e96c2200537 (patch)
tree9c838d6b62b02a0f4cd4cfbcd11e068dbd62e1db
parent9b6ec6485372110184035f7c1db3e7e14a7250af (diff)
downloadsubsurface-65910177b26cc6fdc28f28b76be28e96c2200537.tar.gz
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>
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 17ae7ad7b..730df292e 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -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 {