diff --git a/modules/notification/NotificationBody.qml b/modules/notification/NotificationBody.qml index 56b1f6d..c0e644e 100644 --- a/modules/notification/NotificationBody.qml +++ b/modules/notification/NotificationBody.qml @@ -45,6 +45,7 @@ Rectangle { Connections { target: root.notification onClosed: function(reason){ + // It is known that it can be triggered twice and delete multiple Index but since it is only temporary display and the chance is low it is ignored root.closeNotification(false) } } diff --git a/modules/notification/notificationServer/NotificationServer.qml b/modules/notification/notificationServer/NotificationServer.qml index 556544a..e075665 100644 --- a/modules/notification/notificationServer/NotificationServer.qml +++ b/modules/notification/notificationServer/NotificationServer.qml @@ -86,7 +86,7 @@ Item { notificationSound.play() } - // destroy() + destroy() } } }