diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-05-25 03:36:36 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-05-25 03:36:36 +0100 |
commit | 3e85291fee01680f465198d895d12fef733b146c (patch) | |
tree | b001a41ffea371490829c68005dd0880c70b2b59 /indra/newview/llfloatervoiceeffect.cpp | |
parent | 563ae1c7e029ceef2aed0b85623c2f0a95d38b46 (diff) |
EXT-7337 WIP Further tweaking of Voice Effect preview layout
Diffstat (limited to 'indra/newview/llfloatervoiceeffect.cpp')
-rw-r--r-- | indra/newview/llfloatervoiceeffect.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfloatervoiceeffect.cpp b/indra/newview/llfloatervoiceeffect.cpp index 46356cf161..b47d562995 100644 --- a/indra/newview/llfloatervoiceeffect.cpp +++ b/indra/newview/llfloatervoiceeffect.cpp @@ -189,19 +189,20 @@ void LLFloaterVoiceEffect::refreshEffectList() if (!is_template_only) { element["columns"][1]["value"] = expiry_date; + element["columns"][1]["type"] = "date"; } else { element["columns"][1]["value"] = ""; } element["columns"][1]["font"]["name"] = "SANSSERIF"; - element["columns"][1]["font"]["style"] = font_style; + element["columns"][1]["font"]["style"] = "NORMAL"; LLScrollListItem* sl_item = mVoiceEffectList->addElement(element, ADD_BOTTOM); // *HACK: Copied from llfloatergesture.cpp : ["font"]["style"] does not affect font style :( if(sl_item) { LLFontGL::StyleFlags style = is_template_only ? LLFontGL::NORMAL : LLFontGL::BOLD; - ((LLScrollListText*)sl_item->getColumn(0))->setFontStyle(style); + dynamic_cast<LLScrollListText*>(sl_item->getColumn(0))->setFontStyle(style); } } } |