feat(Modules/Notification): auto-close history panel on clear history
This commit is contained in:
parent
3c97acf00f
commit
be532fa146
1 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,10 @@ NPanel {
|
|||
icon: "trash"
|
||||
tooltipText: "Clear history"
|
||||
sizeRatio: 0.8
|
||||
onClicked: NotificationService.clearHistory()
|
||||
onClicked: {
|
||||
NotificationService.clearHistory()
|
||||
root.close()
|
||||
}
|
||||
}
|
||||
|
||||
NIconButton {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue