LLPanelAvatar::resetGroupList was marking visible groups incorrectly. Old method required a long-removed color. Changed to simply toggling bold state instead.
This commit is contained in:
@@ -1717,14 +1717,7 @@ void LLPanelAvatar::resetGroupList()
|
||||
row["id"] = id ;
|
||||
row["columns"][0]["value"] = group_string;
|
||||
row["columns"][0]["font"] = "SANSSERIF_SMALL";
|
||||
if (group_data.mListInProfile)
|
||||
{
|
||||
row["columns"][0]["color"] = gColors.getColor("DefaultListText").getValue();
|
||||
}
|
||||
else
|
||||
{
|
||||
row["columns"][0]["color"] = gColors.getColor("ScrollUnselectedColor").getValue();
|
||||
}
|
||||
row["columns"][0]["font-style"] = group_data.mListInProfile ? "BOLD" : "NORMAL";
|
||||
row["columns"][0]["width"] = 0;
|
||||
group_list->addElement(row);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user