Fix warning about missing gear button on blocklist panel

Thu, 11 Dec 2014 14:29:23 +0100

author
Ansariel
date
Thu, 11 Dec 2014 14:29:23 +0100
changeset 43054
6524550a1a3e
parent 43053
dd80385c8079
child 43055
5f1e2abf615c

Fix warning about missing gear button on blocklist panel

indra/newview/llpanelpeople.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llpanelpeople.cpp	Thu Dec 11 14:18:04 2014 +0100
     1.2 +++ b/indra/newview/llpanelpeople.cpp	Thu Dec 11 14:29:23 2014 +0100
     1.3 @@ -1036,7 +1036,10 @@
     1.4  				cur_panel->getChildView("friends_del_btn")->setEnabled(multiple_selected);
     1.5  			}
     1.6  
     1.7 -			if (!group_tab_active)
     1.8 +			// <FS:Ansariel> Fix warning about missing gear button on blocklist panel
     1.9 +			//if (!group_tab_active)
    1.10 +			if (!group_tab_active && cur_tab != BLOCKED_TAB_NAME)
    1.11 +			// </FS:Ansariel>
    1.12  			{
    1.13  				cur_panel->getChildView("gear_btn")->setEnabled(multiple_selected);
    1.14  			}

mercurial