diff --git a/applets/notifications/package/contents/ui/main.qml b/applets/notifications/package/contents/ui/main.qml --- a/applets/notifications/package/contents/ui/main.qml +++ b/applets/notifications/package/contents/ui/main.qml @@ -133,7 +133,8 @@ } function action_clearNotifications() { - notifications.clearNotifications() + notifications.clearNotifications(); + notifications.clearHistory(); } function action_notificationskcm() { @@ -144,7 +145,7 @@ plasmoid.setAction("clearNotifications", i18n("Clear Notifications"), "edit-clear") var clearAction = plasmoid.action("clearNotifications"); clearAction.visible = Qt.binding(function() { - return notificationsApplet.notifications && notificationsApplet.notifications.count > 0 + return notificationsApplet.notifications && (notificationsApplet.notifications.count > 0 || notificationsApplet.notifications.historyCount > 0); }) if (KCMShell.authorize("kcmnotify.desktop").length > 0) {