diff --git a/src/windows/notificationtoast/NotificationToasts.qml b/src/windows/notificationtoast/NotificationToasts.qml index dd36e56..23e30c7 100644 --- a/src/windows/notificationtoast/NotificationToasts.qml +++ b/src/windows/notificationtoast/NotificationToasts.qml @@ -46,6 +46,11 @@ PanelWindow { notif: n }); }); + Notifications.incomingRemoved.connect(n => { + for (let i = 0; i < data.count; ++i) + if (data.get(i).id == n) + return data.remove(i); + }); } } addDisplaced: Transition {