diff options
| author | Darl <me@darl.cat> | 2026-04-03 18:36:10 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-04-07 20:48:52 +0300 |
| commit | 581cad9cc45c375b8c60692e565b27ac1568f4c9 (patch) | |
| tree | dd27245df4f6d9de2f7ea42b59b9ac4e93fe2bdd /indra/newview/llblocklist.cpp | |
| parent | 9978c669b42c1a7ebd96fbdf34abb211590af66a (diff) | |
Make LLBlockList more reactive to LLMuteList changes
This allows the UI to update if already initialized before fallback or load occurs
Signed-off-by: Darl <me@darl.cat>
Diffstat (limited to 'indra/newview/llblocklist.cpp')
| -rw-r--r-- | indra/newview/llblocklist.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llblocklist.cpp b/indra/newview/llblocklist.cpp index 89516a8a84..230aa19ad2 100644 --- a/indra/newview/llblocklist.cpp +++ b/indra/newview/llblocklist.cpp @@ -101,6 +101,14 @@ BlockListActionType LLBlockList::getCurrentMuteListActionType() return type; } +void LLBlockList::onChange() +{ + // Something changed, not sure what so force a refresh. + mShouldAddAll = true; + mActionType = NONE; + setDirty(); +} + void LLBlockList::onChangeDetailed(const LLMute &mute) { mActionType = getCurrentMuteListActionType(); |
