diff --git a/applet/contents/ui/ConnectionItem.qml b/applet/contents/ui/ConnectionItem.qml --- a/applet/contents/ui/ConnectionItem.qml +++ b/applet/contents/ui/ConnectionItem.qml @@ -52,7 +52,6 @@ height: expanded ? baseHeight + expandableComponentLoader.height + units.smallSpacing * (ConnectionState == PlasmaNM.Enums.Active ? 1 : Uuid ? 2 : 1) : baseHeight - highlightRect: Qt.rect(mainColumn.x, mainColumn.y, mainColumn.width, baseHeight) ColumnLayout { id: mainColumn @@ -67,11 +66,11 @@ onEntered: { connectionView.currentVisibleButtonIndex = index - connectionItem.checked = true + devicesView.currentIndex = index } onExited: { - connectionItem.checked = false + devicesView.currentIndex = -1 } onPressed: { @@ -441,12 +440,6 @@ } } - onContainsMouseChanged: { - if (connectionItem.containsMouse) { - connectionView.currentVisibleButtonIndex = index - } - } - onDeactivatedChanged: { /* Separator is part of section, which is visible only when available connections exist. Need to determine if there is a connection in use, to show Separator. Otherwise need to hide it from the top of the list. diff --git a/applet/contents/ui/PopupDialog.qml b/applet/contents/ui/PopupDialog.qml --- a/applet/contents/ui/PopupDialog.qml +++ b/applet/contents/ui/PopupDialog.qml @@ -112,6 +112,9 @@ boundsBehavior: Flickable.StopAtBounds section.property: showSeparator ? "Section" : "" section.delegate: ListItem { separator: true } + highlight: PlasmaComponents.Highlight { } + highlightMoveDuration: 0 + highlightResizeDuration: 0 delegate: ConnectionItem { } } }