Skip to content

Commit aeefc73

Browse files
authored
Add font buffer resetting in LLLineEditor.clear() (#4159)
1 parent 38a643a commit aeefc73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

indra/llui/lllineeditor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,6 +2230,9 @@ void LLLineEditor::clear()
22302230
{
22312231
mText.clear();
22322232
setCursor(0);
2233+
mFontBufferPreSelection.reset();
2234+
mFontBufferSelection.reset();
2235+
mFontBufferPostSelection.reset();
22332236
}
22342237

22352238
//virtual

0 commit comments

Comments
 (0)