From 73b55951394f8a7d649493246f7fd5c785746d45 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Thu, 22 May 2025 20:04:58 +0530 Subject: [PATCH] notifications: do not expire notificationa after invoking action This may close notification before action is passed and this causes the action to not work. --- .../qml/widgets/notifications/BaseNotificationItem.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/components/mobileshell/qml/widgets/notifications/BaseNotificationItem.qml b/components/mobileshell/qml/widgets/notifications/BaseNotificationItem.qml index 9deaee10..bfc99eb2 100644 --- a/components/mobileshell/qml/widgets/notifications/BaseNotificationItem.qml +++ b/components/mobileshell/qml/widgets/notifications/BaseNotificationItem.qml @@ -158,7 +158,6 @@ Item { notificationsModel.invokeAction(notificationsModel.index(modelIndex, 0), actionName, NotificationManager.Close); // notification closes } } - expire(); } if (notificationItem.requestToInvoke) {