Fix warning about missing gear button on blocklist panel

Ansariel 2014-12-11 14:29:23 +01:00
parent 23f7575f82
commit 105ef3a1bf
1 changed files with 4 additions and 1 deletions

View File

@ -1036,7 +1036,10 @@ void LLPanelPeople::updateButtons()
cur_panel->getChildView("friends_del_btn")->setEnabled(multiple_selected);
}
if (!group_tab_active)
// <FS:Ansariel> Fix warning about missing gear button on blocklist panel
//if (!group_tab_active)
if (!group_tab_active && cur_tab != BLOCKED_TAB_NAME)
// </FS:Ansariel>
{
cur_panel->getChildView("gear_btn")->setEnabled(multiple_selected);
}