Commit e1e25e5e authored by Nicolas Fella's avatar Nicolas Fella

Get person count from list instead of model

This takes filtering into account, so the "No contacts" message is also shown when the filter was too aggressive
parent 648fece8
......@@ -74,7 +74,7 @@ Kirigami.ScrollablePage {
Controls.Label {
anchors.centerIn: parent
text: i18n("No contacts")
visible: contactsModel.count === 0
visible: contactsList.count === 0
}
header: Rectangle {
......
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