diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/notifications/Notification.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index a02210e..76274e0 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -57,6 +57,11 @@ StyledRect { root.expanded = diffY > 0; } } + onClicked: { + const actions = root.modelData.actions; + if (actions.length === 1) + root.modelData.actions[0].invoke(); + } } Behavior on x { |