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