Reset font buffers when clearing LLLineEditor contents

master
Ansariel 2025-05-26 02:38:01 +02:00
parent d91c58a0a3
commit d96c85b9af
1 changed files with 3 additions and 0 deletions

View File

@ -2314,6 +2314,9 @@ void LLLineEditor::clear()
{
mText.clear();
setCursor(0);
mFontBufferPreSelection.reset();
mFontBufferSelection.reset();
mFontBufferPostSelection.reset();
}
//virtual