From 1e6c5d002b63d408b141c290ce4710339f830456 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 20 Oct 2018 12:20:07 -0400 Subject: [PATCH] Mobile/filtering: show a better message while waiting for the filter Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 639979a97..f02d4f80b 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -362,7 +362,7 @@ Kirigami.ScrollablePage { anchors.fill: parent horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - text: qsTr("No dives in dive list") + text: diveListModel ? qsTr("No dives in dive list") : qsTr("Please wait, filtering dive list") visible: diveListView.visible && diveListView.count === 0 } Component {