feat: add notification close event handling in NotificationBody
This commit is contained in:
@@ -42,6 +42,13 @@ Rectangle {
|
||||
root.dismissed(root.notification, dismiss)
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root.notification
|
||||
onClosed: function(reason){
|
||||
root.closeNotification(false)
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user