From 5f83d9e12c2d1be43ce53218c8bf9abd65413caf Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Fri, 17 Nov 2023 09:31:19 +0000 Subject: [PATCH] Ensure the widget updates to show cursor position Fixes #4181 --- widget/entry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/entry.go b/widget/entry.go index c6825a4af6..1cbb707fcf 100644 --- a/widget/entry.go +++ b/widget/entry.go @@ -911,6 +911,7 @@ func (e *Entry) pasteFromClipboard(clipboard fyne.Clipboard) { e.updateTextAndRefresh(provider.String()) e.CursorRow, e.CursorColumn = e.rowColFromTextPos(pos + len(runes)) + e.Refresh() // placing the cursor (and refreshing) happens last } // placeholderProvider returns the placeholder text handler for this entry