From be532fa146f2d8cca36dd0c8e86cb29f61fdc6f8 Mon Sep 17 00:00:00 2001 From: Matej Cotman Date: Fri, 12 Sep 2025 17:44:14 +0300 Subject: [PATCH] feat(Modules/Notification): auto-close history panel on clear history --- Modules/Notification/NotificationHistoryPanel.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/Notification/NotificationHistoryPanel.qml b/Modules/Notification/NotificationHistoryPanel.qml index cc09436..9b1335d 100644 --- a/Modules/Notification/NotificationHistoryPanel.qml +++ b/Modules/Notification/NotificationHistoryPanel.qml @@ -56,7 +56,10 @@ NPanel { icon: "trash" tooltipText: "Clear history" sizeRatio: 0.8 - onClicked: NotificationService.clearHistory() + onClicked: { + NotificationService.clearHistory() + root.close() + } } NIconButton {