mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
destroy notification windows after closing
This commit is contained in:
parent
262941e839
commit
18fdd3f60b
@ -47,6 +47,8 @@ Item {
|
||||
onClicked: {
|
||||
timer.stop()
|
||||
notificationWindowSub.close()
|
||||
notificationWindowSub.destroy()
|
||||
mainWin.destroy()
|
||||
applicationWindow.raise()
|
||||
chatsModel.setActiveChannel(chatId);
|
||||
}
|
||||
@ -59,7 +61,10 @@ Item {
|
||||
interval: 4000;
|
||||
running: false;
|
||||
repeat: false
|
||||
onTriggered: notificationWindowSub.close()
|
||||
onTriggered: {
|
||||
notificationWindowSub.close()
|
||||
notificationWindowSub.destroy()
|
||||
}
|
||||
}
|
||||
onVisibleChanged: {
|
||||
if(visible) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user