Skip to content

Commit 0bb6ecf

Browse files
committed
fix: critical notification shouldn't close for notification
as title. pms: BUG-289863
1 parent 6798319 commit 0bb6ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panels/notification/plugin/NotifyItemContent.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ NotifyItem {
2828
width: 20
2929
height: 20
3030
contentItem: Loader {
31-
active: root.closeVisible || closePlaceHolder.hovered || closePlaceHolder.activeFocus || activeFocus
31+
active: !(root.strongInteractive && root.actions.length > 0) && (root.closeVisible || closePlaceHolder.hovered || closePlaceHolder.activeFocus || activeFocus)
3232
sourceComponent: SettingActionButton {
3333
id: closeBtn
3434
objectName: "closeNotify-" + root.appName

0 commit comments

Comments
 (0)