fix onClosed recursion stack overflow

This commit is contained in:
Damocles 2026-04-17 11:22:09 +02:00
parent cf5581657b
commit 8bbe211dd4

View file

@ -46,6 +46,7 @@ QtObject {
readonly property Connections _notifConn: Connections { readonly property Connections _notifConn: Connections {
target: root.notification target: root.notification
function onClosed() { function onClosed() {
if (root.state !== "dismissed")
M.NotifService.dismiss(root.id); M.NotifService.dismiss(root.id);
} }
} }