From 8c6662871aa3a91cc8d74d366785849878dc34e4 Mon Sep 17 00:00:00 2001 From: Hannes Date: Sun, 30 Aug 2026 00:14:13 +0200 Subject: [PATCH] feat: add notification close event handling in NotificationBody --- modules/notification/NotificationBody.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/notification/NotificationBody.qml b/modules/notification/NotificationBody.qml index af2e0bd..56b1f6d 100644 --- a/modules/notification/NotificationBody.qml +++ b/modules/notification/NotificationBody.qml @@ -42,6 +42,13 @@ Rectangle { root.dismissed(root.notification, dismiss) } + Connections { + target: root.notification + onClosed: function(reason){ + root.closeNotification(false) + } + } + MouseArea { id: mouseArea anchors.fill: parent