oops: fix infinite recursion in TextRestrictedEntry

This commit is contained in:
Drew Weymouth
2023-05-18 13:11:51 -07:00
parent bf4dce6df4
commit ce7822c89f
+1 -1
View File
@@ -36,7 +36,7 @@ func (e *TextRestrictedEntry) TypedShortcut(s fyne.Shortcut) {
if s.ShortcutName() == (&fyne.ShortcutPaste{}).ShortcutName() { if s.ShortcutName() == (&fyne.ShortcutPaste{}).ShortcutName() {
return return
} }
e.TypedShortcut(s) e.Entry.TypedShortcut(s)
} }
func (e *TextRestrictedEntry) SetMinCharWidth(numChars int) { func (e *TextRestrictedEntry) SetMinCharWidth(numChars int) {