Skip to content
Snippets Groups Projects
Commit 5fac8e4f authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

STORM-192 FIXED Ctrl-Shift-W not to disable nearby chat toasts.

Bug reason: The fix of EXT-1419 disables showing nearby chat showing toasts at all whenever you close one.
That was done to prevent a crash when viewer is exiting, but closing a toast manually should be handled differently.

Fix: If a toast is being closed (destroyed) manually, just remove it from the toast pool
(to prevent further references to the invalid pointer), but keep on showing new toasts.
I've overriden LLFloater::onClose() to differentiate the two cases.
parent 27bbf79c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment