@@ -41,15 +41,20 @@ UbuntuShape {
4141
4242 Repeater {
4343 id: actionRepeater
44+
4445 model: notification.actions
46+
47+ delegate: Item {
48+ property string actionId: model.id
49+ }
4550 }
4651
4752 anchors.fill: contentColumn
4853 objectName: "interactiveArea"
4954 enabled: notification.type == Notification.Interactive
5055 onClicked: {
51− notification.notification.invokeAction(actionRepeater.model.get(0).id)
52− actionInvoked(actionRepeater.model.get(0).id)
56+ notification.notification.invokeAction(actionRepeater.itemAt(0).actionId)
57+ actionInvoked(actionRepeater.itemAt(0).actionId)
5358 }
5459 }
5560