MAINT-7349 FIXED An item is not highlighted in Block panel after blocking it

Mnikolenko Productengine 2017-04-25 17:37:46 +03:00
parent 5b5ee18f6f
commit 5dd4a28472
2 changed files with 11 additions and 0 deletions

View File

@ -123,6 +123,7 @@ void LLPanelBlockedList::onOpen(const LLSD& key)
void LLPanelBlockedList::selectBlocked(const LLUUID& mute_id)
{
mBlockedList->resetSelection();
mBlockedList->selectItemByUUID(mute_id);
}

View File

@ -1465,7 +1465,17 @@ void LLPanelPeople::onOpen(const LLSD& key)
{
std::string tab_name = key["people_panel_tab_name"];
if (!tab_name.empty())
{
mTabContainer->selectTabByName(tab_name);
if(tab_name == BLOCKED_TAB_NAME)
{
LLPanel* blocked_tab = mTabContainer->getCurrentPanel()->findChild<LLPanel>("panel_block_list_sidetray");
if(blocked_tab)
{
blocked_tab->onOpen(key);
}
}
}
}
bool LLPanelPeople::notifyChildren(const LLSD& info)