Skip to content
Snippets Groups Projects
Commit 2888e446 authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-496

Checker: FORWARD_NULL
Function: LLFloaterVoiceEffect::refreshEffectList()
File: /indra/newview/llfloatervoiceeffect.cpp
parent 014c2a50
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,12 @@ void LLFloaterVoiceEffect::refreshEffectList() ...@@ -199,7 +199,12 @@ void LLFloaterVoiceEffect::refreshEffectList()
if(sl_item) if(sl_item)
{ {
LLFontGL::StyleFlags style = is_template_only ? LLFontGL::NORMAL : LLFontGL::BOLD; LLFontGL::StyleFlags style = is_template_only ? LLFontGL::NORMAL : LLFontGL::BOLD;
dynamic_cast<LLScrollListText*>(sl_item->getColumn(0))->setFontStyle(style); LLScrollListText slt = dynamic_cast<LLScrollListText*>(sl_item->getColumn(0));
llassert(slt);
if (slt)
{
slt->setFontStyle(style);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment