diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-08-04 20:02:53 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2024-08-04 23:11:57 -0400 |
commit | 409b9eebe12b864280ead8e3c537a73e40548b97 (patch) | |
tree | 1de181203b299c4009b5b86fabb16a61970e453f /indra/llui/lllineeditor.h | |
parent | 9e777e1109035b40989ac13eb3a73323307ff151 (diff) |
Fix chat text segments not dynamically updating when colors changed in preferences
Diffstat (limited to 'indra/llui/lllineeditor.h')
-rw-r--r-- | indra/llui/lllineeditor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.h b/indra/llui/lllineeditor.h index 22ec9ecc8a..cdd22413e7 100644 --- a/indra/llui/lllineeditor.h +++ b/indra/llui/lllineeditor.h @@ -204,7 +204,7 @@ public: void setText(const LLStringExplicit &new_text); const std::string& getText() const override { return mText.getString(); } - LLWString getWText() const { return mText.getWString(); } + const LLWString& getWText() const { return mText.getWString(); } LLWString getConvertedText() const; // trimmed text with paragraphs converted to newlines S32 getLength() const { return mText.length(); } |