Verified Commit 8c7446a0 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applet: give focused traffic monitor/details a highlight

When they have focus, a highlight will appear.
parent 8c8b9d2f
Pipeline #209588 passed with stage
in 3 minutes and 28 seconds
......@@ -147,6 +147,17 @@ PlasmaExtras.ExpandableListItem {
Accessible.description: ConnectionDetails.join(" ")
Loader {
anchors.fill: parent
active: parent.activeFocus
asynchronous: true
z: -1
sourceComponent: PlasmaExtras.Highlight {
hovered: true
}
}
DetailsText {
id: detailsTextColumn
width: parent.width
......@@ -166,6 +177,17 @@ PlasmaExtras.ExpandableListItem {
Accessible.description: i18nc("@info:tooltip", "Current download speed is %1 kibibytes per second; current upload speed is %2 kibibytes per second", Math.round(rxBytes / 1024), Math.round(txBytes / 1024))
Loader {
anchors.fill: parent
active: parent.activeFocus
asynchronous: true
z: -1
sourceComponent: PlasmaExtras.Highlight {
hovered: true
}
}
TrafficMonitor {
id: trafficMonitorGraph
width: parent.width
......
Supports Markdown
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