fix: timers are getting deleted and not just multiply
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ Item {
|
||||
notificationSound.play()
|
||||
}
|
||||
|
||||
// destroy()
|
||||
destroy()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user