diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-03-25 17:19:11 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-03-25 17:19:11 +0200 |
commit | 458d318aebd7a7da8ea2c594b8df2f285f7efded (patch) | |
tree | 48e8d74ee4af28c53680a42975a81cead45f4f1f /indra/newview/llavataractions.cpp | |
parent | e0b24ee960c7a7eebb9e7d6e4b5974973eb3da00 (diff) |
SL-10804 [Legacy Profiles] Second Life tab block button size and focus
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rw-r--r-- | indra/newview/llavataractions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index fa4090c5fe..ff00157459 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -1076,7 +1076,7 @@ bool LLAvatarActions::canShareSelectedItems(LLInventoryPanel* inv_panel /* = NUL } // static -void LLAvatarActions::toggleBlock(const LLUUID& id) +bool LLAvatarActions::toggleBlock(const LLUUID& id) { LLAvatarName av_name; LLAvatarNameCache::get(id, &av_name); @@ -1086,10 +1086,12 @@ void LLAvatarActions::toggleBlock(const LLUUID& id) if (LLMuteList::getInstance()->isMuted(mute.mID, mute.mName)) { LLMuteList::getInstance()->remove(mute); + return false; } else { LLMuteList::getInstance()->add(mute); + return true; } } |