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