CHUI-136 ADDITIONAL FIX (Implement new design for blocked list on the people floater)
- Disabled object profile functionality according to the specmaster
parent
e0eeed2680
commit
1fa326ccdb
|
|
@ -195,7 +195,13 @@ bool LLBlockList::isActionEnabled(const LLSD& userdata)
|
|||
|
||||
const std::string command_name = userdata.asString();
|
||||
|
||||
if ("unblock_item" == command_name || "profile_item" == command_name)
|
||||
if ("profile_item" == command_name)
|
||||
{
|
||||
LLBlockedListItem* item = getBlockedItem();
|
||||
action_enabled = item && (LLMute::AGENT == item->getType());
|
||||
}
|
||||
|
||||
if ("unblock_item" == command_name)
|
||||
{
|
||||
action_enabled = getSelectedItem() != NULL;
|
||||
}
|
||||
|
|
@ -227,10 +233,6 @@ void LLBlockList::onCustomAction(const LLSD& userdata)
|
|||
LLAvatarActions::showProfile(item->getUUID());
|
||||
break;
|
||||
|
||||
case LLMute::OBJECT:
|
||||
LLFloaterSidePanelContainer::showPanel("inventory", LLSD().with("id", item->getUUID()));
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue