fix onClosed recursion stack overflow
This commit is contained in:
parent
cf5581657b
commit
8bbe211dd4
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue