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:
Shyotl
2011-06-13 20:17:13 -05:00
parent bbc6f9d4c3
commit ac363d5b54

View File

@@ -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);
}