From 410e105f5293813dc63542414382e67273ab1d52 Mon Sep 17 00:00:00 2001 From: Denis Serdjuk Date: Mon, 25 Jan 2010 15:15:06 +0200 Subject: fixed bug EXT-4433 [BSI] friend privacy settings greyed out EXT-4353, EXT-4587, EXT-4442 have same cause. it should fix they. --HG-- branch : product-engine --- indra/llui/lltextbase.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'indra/llui/lltextbase.cpp') diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 17aecaf32f..47db990a37 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1009,6 +1009,16 @@ void LLTextBase::draw() void LLTextBase::setColor( const LLColor4& c ) { mFgColor = c; + //textsegments have own style property , + //so we have to update it also to apply changes, EXT-4433 + for(segment_set_t::iterator it = mSegments.begin(); it != mSegments.end(); it++) + { + LLTextSegment* segment = it->get(); + if(segment) + { + segment->setColor(mFgColor); + } + } } //virtual -- cgit v1.2.3