Fix SinguReplaceLinks not being respected on various user driven UI

Corrects display for Readonly Notecards, Picks, Group profiles, First/
Second Life, Classifieds, Events, Landmarks, About Land, and Region/Estate

Thanks for giving me the heads-up, Beware
This commit is contained in:
Lirusaito
2019-05-10 18:47:06 -04:00
parent 2a40ca6295
commit 4bb63a9827
11 changed files with 16 additions and 21 deletions

View File

@@ -529,12 +529,7 @@ void LLPanelGroupNotices::showNotice(const std::string& subject,
arrangeNoticeView(VIEW_PAST_NOTICE);
if(mViewSubject) mViewSubject->setText(subject);
if (mViewMessage) {
// We need to prune the highlights, and clear() is not doing it...
mViewMessage->removeTextFromEnd(mViewMessage->getMaxLength());
// Now we append the new text (setText() won't highlight URLs)
mViewMessage->appendColoredText(message, false, false, mViewMessage->getReadOnlyFgColor());
}
if (mViewMessage) mViewMessage->setText(message, false);
if (mInventoryOffer)
{