diff --git a/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml b/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml --- a/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml +++ b/src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml @@ -137,14 +137,15 @@ RowLayout { id: actionsRow + readonly property int modelIndex: model.index Repeater { model: delegate.actions delegate: Controls.Button { icon.name: modelData.iconName activeFocusOnTab: focus || delegate.focus onClicked: { - delegate.clicked() + delegate.GridView.view.currentIndex = actionsRow.modelIndex modelData.trigger() } enabled: modelData.enabled