summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
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 /mobile-widgets
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml1
1 files changed, 1 insertions, 0 deletions
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()
}
}