aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-07 15:15:37 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-07 16:48:34 -0800
commitb92b5998ffab5720aede5c6e0cf7978c2a358763 (patch)
treeea907f6fe24985eecfe47bc4ef350225276b0c54
parent4e51af7d6275106b6246f7332bc97f217bc7d847 (diff)
downloadsubsurface-b92b5998ffab5720aede5c6e0cf7978c2a358763.tar.gz
mobile UI: re-enable download status when restarting download
When tapping on 'retry' we didn't clear the flag that decided which message to display. Fixes: #2651 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--CHANGELOG.md1
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 025fc8052..34fe32b8d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
Mobile-android: Add usb-serial-for-android driver support
+Mobile: fix missing download info on retry
Mobile: enable profile zoom and pan
Mobile: add people- and tags-filter modes
Desktop: fix tab-order in filter widget
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 9d2d04f40..6e3700fe7 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -329,6 +329,7 @@ Kirigami.Page {
message += " downloading " + (manager.DC_forceDownload ? "all" : "only new" ) + " dives";
manager.appendTextToLog(message)
progressBar.visible = true
+ divesDownloaded = false // this allows the progressMessage to be displayed
importModel.startDownload()
}
}