Commit cf47147b authored by Nate Graham's avatar Nate Graham 🔩
Browse files

Show a message indicating that no TB devices are connected when the list is empty

Summary: ...Otherwise the user might think that it's just broken.

Test Plan:
Before: {F7609800}
After: {F7609799}

Reviewers: #vdg, #plasma, dvratil, mart

Reviewed By: #vdg, #plasma, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24715
parent 0029e215
......@@ -64,6 +64,14 @@ KCM.ScrollViewKCM {
onTriggered: view._evalTrigger++;
}
Kirigami.Heading {
anchors.centerIn: parent
visible: view.count === 0
level: 2
text: i18n("No Thunderbolt devices connected")
opacity: 0.3
}
delegate: Kirigami.AbstractListItem {
id: item
width: view.width
......
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