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