Commit 16c3597f authored by Tobias Fella's avatar Tobias Fella Committed by Nicolas Fella

add 'no location' message

parent c9f03d58
......@@ -63,6 +63,7 @@ Kirigami.Page
anchors.fill: parent
visible: !showCached
model: queryModel
id: locationList
delegate: Kirigami.BasicListItem {
text: location.name
......@@ -75,6 +76,12 @@ Kirigami.Page
}
}
Label {
text: i18n("No locations found")
visible: locationList.count === 0 && locationList.visible && !queryModel.loading
anchors.centerIn: parent
}
BusyIndicator {
running: queryModel.loading
anchors.centerIn: parent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment