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.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index e405bcb79..cb94e79d1 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -244,6 +244,11 @@ Kirigami.ScrollablePage {
}
}
+ Kirigami.Label {
+ text: qsTr("No dives in dive list")
+ visible: diveListView.visible && diveListView.count === 0
+ }
+
ListView {
id: diveListView
anchors.fill: parent
@@ -273,11 +278,6 @@ Kirigami.ScrollablePage {
}
}
- Kirigami.Label {
- text: qsTr("No dives in dive list")
- visible: diveListView.visible && diveListView.count === 0
- }
-
property QtObject addDiveAction: Action {
iconName: "list-add"
onTriggered: {