summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadFromDiveComputer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index eafc22150..5a3f3190e 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -210,8 +210,10 @@ Kirigami.Page {
text: progressBar.visible ? qsTr("Cancel") : qsTr("Quit")
onClicked: {
manager.cancelDownloadDC()
- if (!progressBar.visible)
+ if (!progressBar.visible) {
stackView.pop();
+ download.text = qsTr("Download")
+ }
manager.appendTextToLog("exit DCDownload screen")
}
}
@@ -274,6 +276,7 @@ Kirigami.Page {
diveModel.clear()
diveModel.addAllDives()
stackView.pop();
+ download.text = qsTr("Download")
}
}
Controls.Label {