mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[auto-trial] fix CME after IJPL-202845 'Trial has started' popup may get overlapped by notification balloons
(like 'npm install', 'plugin available, Windows Defender, SSL, and others) All notification balloons are postponed until a user closes the 'Trial has started' Got It popup. This is a dirty and hacky fix, sorry. There are no better ideas at the moment GitOrigin-RevId: 895704651db51bd6446e8f9685a98142bf12e3c2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0c681189a6
commit
8c54d0d00d
+2
-1
@@ -176,8 +176,9 @@ public final class NotificationsManagerImpl extends NotificationsManager {
|
||||
@IntellijInternalApi
|
||||
public void resumeNotifications() {
|
||||
if (myPostponedNotifications != null) {
|
||||
myPostponedNotifications.forEach(pair -> showNotificationWithSpan(pair.first, pair.second));
|
||||
List<Pair<Notification, @Nullable Project>> postponedNotifications = myPostponedNotifications;
|
||||
myPostponedNotifications = null;
|
||||
postponedNotifications.forEach(pair -> showNotificationWithSpan(pair.first, pair.second));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user