mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 17:54:45 +00:00
Fix no contacts message
This commit is contained in:
parent
4543b7724c
commit
85bc6a3029
1 changed files with 2 additions and 3 deletions
|
|
@ -29,16 +29,15 @@ Item {
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: i18n("No contacts")
|
text: i18n("No contacts")
|
||||||
visible: contactsModel.count === 0
|
visible: contactsList.count === 0
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
//visible: contactsModel.count > 0
|
|
||||||
|
|
||||||
|
|
||||||
Kirigami.ActionTextField {
|
Kirigami.ActionTextField {
|
||||||
id: searchField
|
id: searchField
|
||||||
|
visible: contactsList.count > 0
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: i18n("Search...")
|
placeholderText: i18n("Search...")
|
||||||
rightActions: [
|
rightActions: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue