summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-25 19:59:06 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-26 11:38:26 -0700
commitfdf03966d435d8582642277f811c7aea86c86c15 (patch)
treee269597e59af39a89823bd86266915f8795bc4c6 /mobile-widgets
parentd709cfb0b8877d23a8e42387c565b94fbbb497e9 (diff)
downloadsubsurface-fdf03966d435d8582642277f811c7aea86c86c15.tar.gz
Mobile: ensure we go back to the dive list after download
The pop() by itself wasn't enough to do that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index da5d261bf..549835df8 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -392,7 +392,8 @@ Kirigami.Page {
manager.saveChangesLocal()
diveModel.resetInternalData()
manager.refreshDiveList()
- pageStack.pop();
+ pageStack.pop()
+ pageStack.push(diveList)
download.text = qsTr("Download")
busy = false
rootItem.hideBusy()