From ce7822c89f5c287493c1fd50883815a326fd7af0 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Thu, 18 May 2023 13:11:51 -0700 Subject: [PATCH] oops: fix infinite recursion in TextRestrictedEntry --- ui/widgets/textrestrictedentry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widgets/textrestrictedentry.go b/ui/widgets/textrestrictedentry.go index fc6aa2b..b689a05 100644 --- a/ui/widgets/textrestrictedentry.go +++ b/ui/widgets/textrestrictedentry.go @@ -36,7 +36,7 @@ func (e *TextRestrictedEntry) TypedShortcut(s fyne.Shortcut) { if s.ShortcutName() == (&fyne.ShortcutPaste{}).ShortcutName() { return } - e.TypedShortcut(s) + e.Entry.TypedShortcut(s) } func (e *TextRestrictedEntry) SetMinCharWidth(numChars int) {