From 9111ce01e7b8b06d70ddf93be3c1be1406d1ba94 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 9 Jul 2017 16:07:48 -0700 Subject: QML UI: show progress messages on the download page Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 3b9ed7dfb..ce6f34d5a 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -169,9 +169,10 @@ Kirigami.Page { } } } - Kirigami.Label { - text: qsTr(" Downloaded dives") + text: divesDownloaded ? qsTr(" Downloaded dives") : + (manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : qsTr(" No dives")) + wrapMode: Text.WrapAtWordBoundaryOrAnywhere } ListView { -- cgit v1.2.3-70-g09d2