[App] Show message when no device is found
Summary: {F6286990} Reviewers: #kde_connect, apol Reviewed By: #kde_connect, apol Subscribers: kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D15784
This commit is contained in:
parent
5cc205b5de
commit
bd5c3ca460
1 changed files with 8 additions and 0 deletions
|
@ -33,7 +33,15 @@ Kirigami.ScrollablePage
|
||||||
|
|
||||||
objectName: "FindDevices"
|
objectName: "FindDevices"
|
||||||
title: i18n("Pair")
|
title: i18n("Pair")
|
||||||
|
|
||||||
|
Label {
|
||||||
|
text: i18n("No devices found")
|
||||||
|
anchors.centerIn: parent
|
||||||
|
visible: devices.count === 0
|
||||||
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
id: devices
|
||||||
section {
|
section {
|
||||||
property: "status"
|
property: "status"
|
||||||
delegate: Kirigami.Heading {
|
delegate: Kirigami.Heading {
|
||||||
|
|
Loading…
Reference in a new issue