Skip to content

Commit c23787f

Browse files
committed
fix: Closing notification when it was closed or invoked from notification-center.
as title Log: as title Bug: https://pms.uniontech.com/bug-view-290009.html
1 parent 472b1a8 commit c23787f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panels/notification/bubble/bubblepanel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void BubblePanel::onNotificationStateChanged(qint64 id, int processedType)
113113
if (processedType == NotifyEntity::NotProcessed) {
114114
qDebug(notifyLog) << "Add bubble for the notification" << id;
115115
addBubble(id);
116-
} else if (processedType == NotifyEntity::Processed) {
116+
} else if (processedType == NotifyEntity::Processed || processedType == NotifyEntity::Removed) {
117117
qDebug(notifyLog) << "Close bubble for the notification" << id;
118118
closeBubble(id);
119119
}

0 commit comments

Comments
 (0)