Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix limiting message bar items to a maximum of 100 items
The previous size limitation code was rather broken, and didn't apply to all messages. Add a refined approach which automatically removes the oldest message, prioritising lower impact messages (i.e. a "success" message will always be removed before a "warning") Also fixes a quasi leak where items could be added to the bar and never deleted. Fixes #29698
- Loading branch information
1 parent
5dd29f0
commit 15412b0
Showing
2 changed files
with
49 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters