diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Notifs.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/services/Notifs.qml b/services/Notifs.qml index b4ebc26..de53d89 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -78,10 +78,13 @@ Singleton { } readonly property Connections conn: Connections { - target: notif.notification + target: notif.notification.Retainable - function onClosed(): void { + function onDropped(): void { root.list.splice(root.list.indexOf(notif), 1); + } + + function onAboutToDestroy(): void { notif.destroy(); } } |