From c025b63c6d241af020e0b23ac0a0956723246025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lup=C4=8D=C3=ADk?= Date: Mon, 27 Nov 2023 22:06:58 +0100 Subject: [PATCH] Move the input cursor when the selection range changes (#542) --- Source/Core/Elements/WidgetTextInput.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Elements/WidgetTextInput.cpp b/Source/Core/Elements/WidgetTextInput.cpp index 661e54273..9679756e2 100644 --- a/Source/Core/Elements/WidgetTextInput.cpp +++ b/Source/Core/Elements/WidgetTextInput.cpp @@ -269,6 +269,7 @@ void WidgetTextInput::SetSelectionRange(int selection_start, int selection_end) } UpdateCursorPosition(true); + ShowCursor(true, true); if (selection_changed) FormatText();