feat(Modules/Notification): auto-close history panel on clear history

This commit is contained in:
Matej Cotman 2025-09-12 17:44:14 +03:00
parent 3c97acf00f
commit be532fa146
No known key found for this signature in database
GPG key ID: 66FDC7A2EEA1F8A6

View file

@ -56,7 +56,10 @@ NPanel {
icon: "trash"
tooltipText: "Clear history"
sizeRatio: 0.8
onClicked: NotificationService.clearHistory()
onClicked: {
NotificationService.clearHistory()
root.close()
}
}
NIconButton {