summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 4969b9d06..14522fdd5 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -346,11 +346,15 @@ Kirigami.ScrollablePage {
}
Controls.Label {
+ property bool showProcessingText: manager.diveListProcessing
anchors.fill: parent
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
- text: diveListModel ? qsTr("No dives in dive list") : qsTr("Please wait, updating the dive list")
+ text: diveListModel && !showProcessingText ? qsTr("No dives in dive list") : qsTr("Please wait, updating the dive list")
visible: diveListView.visible && diveListView.count === 0
+ onShowProcessingTextChanged: {
+ manager.appendTextToLog("============diveListProcessing is " + showProcessingText)
+ }
}
Rectangle {