QML UI: show progress messages on the download page

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-09 16:07:48 -07:00
parent 8e0895e429
commit 9111ce01e7
2 changed files with 13 additions and 3 deletions

View file

@ -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 {