diff options
author | Richard Nelson <none@none> | 2010-05-24 17:25:35 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-05-24 17:25:35 -0700 |
commit | 4ea7d2de9fcab4dd4694fcbbd2fece1c57f41d2c (patch) | |
tree | 227164fcefa99483f6f02dfed1edd5133810608e /indra/llui/lltextbase.cpp | |
parent | 2920d4c46f99c8c5bc8942a08a87fa204c57464b (diff) |
DEV-50271 FIX SLURL support for non-clickable display names
reviewed by James
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 78312eba73..c93e6c7257 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1583,9 +1583,7 @@ void LLTextBase::appendText(const std::string &new_text, bool prepend_newline, c end = match.getEnd()+1; LLStyle::Params link_params = style_params; - link_params.color = match.getColor(); - link_params.readonly_color = match.getColor(); - link_params.font.style("UNDERLINE"); + link_params.overwriteFrom(match.getStyle()); link_params.link_href = match.getUrl(); // output the text before the Url |