From ffaaea10ef89e060f3414e3c388df1a6ff4d5f44 Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Thu, 17 Dec 2009 15:51:27 +0200 Subject: Fixed major bug EXT-3290 - Groups titles listed in profile lose links to groups after click on 'More' link. --HG-- branch : product-engine --- indra/newview/llexpandabletextbox.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llexpandabletextbox.cpp') diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp index 9c37c953fe..9f6412c0ab 100644 --- a/indra/newview/llexpandabletextbox.cpp +++ b/indra/newview/llexpandabletextbox.cpp @@ -322,6 +322,13 @@ void LLExpandableTextBox::expandTextBox() // hide "more" link, and show full text contents mTextBox->hideExpandText(); + // *HACK dz + // hideExpandText brakes text styles (replaces hyper-links with plain text), see ticket EXT-3290 + // Set text again to make text box re-apply styles. + // *TODO Find proper solution to fix this issue. + // Maybe add removeSegment to LLTextBase + mTextBox->setTextBase(mText); + S32 text_delta = mTextBox->getVerticalTextDelta(); text_delta += mTextBox->getVPad() * 2; text_delta += mScroll->getBorderWidth() * 2; -- cgit v1.2.3