@@ -41,15 +41,20 @@ UbuntuShape {
42 Repeater {
42 Repeater {
43 id: actionRepeater
43 id: actionRepeater
44 model: notification.actions
45 model: notification.actions
48+ property string actionId: model.id
47 anchors.fill: contentColumn
52 anchors.fill: contentColumn
48 objectName: "interactiveArea"
53 objectName: "interactiveArea"
49 enabled: notification.type == Notification.Interactive
54 enabled: notification.type == Notification.Interactive
50 onClicked: {
55 onClicked: {
51− notification.notification.invokeAction(actionRepeater.model.get(0).id)
56+ notification.notification.invokeAction(actionRepeater.itemAt(0).actionId)
52− actionInvoked(actionRepeater.model.get(0).id)
57+ actionInvoked(actionRepeater.itemAt(0).actionId)