diff --git a/applets/grouping/package/contents/ui/main.qml b/applets/grouping/package/contents/ui/main.qml --- a/applets/grouping/package/contents/ui/main.qml +++ b/applets/grouping/package/contents/ui/main.qml @@ -87,8 +87,18 @@ Repeater { model: mainStack.children + //attached properties: + // model == a QQmlDMObjectData wrapper round the PlasmoidItem + // modelData == the PlasmoidItem instance PlasmaComponents.TabButton { text: model.text + MouseArea { + acceptedButtons: Qt.RightButton + anchors.fill: parent + onClicked: { + modelData.clicked(mouse); + } + } } } //hack: PlasmaComponents.TabBar is being weird with heights. Probably a bug