From d5d9c7e35efb278c7623894dd87472ac5783f041 Mon Sep 17 00:00:00 2001 From: Minizbot2012 Date: Wed, 3 Jun 2020 11:20:12 -0400 Subject: [PATCH] Internally deal with ASCII --- ui/bind/popup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/bind/popup.go b/ui/bind/popup.go index 1813c31..eca5f6c 100644 --- a/ui/bind/popup.go +++ b/ui/bind/popup.go @@ -61,7 +61,7 @@ func (bp *Page) createGrid() *fyne.Container { //Create the binding page popup func (bp *Page) Create(bid string) fyne.CanvasObject { bp.dev = make(map[string]fyne.CanvasObject) - bp.dev["BL"] = widget.NewLabel(keys.ASCIIToCommon(bp.Bind.Bound)) + bp.dev["BL"] = widget.NewLabel(keys.ASCIIToCommon[bp.Bind.Bound]) pop := widget.NewVBox(bp.dev["BL"], bp.createGrid()) bp.window.Canvas().SetOnTypedKey(bp.TypeKey) return pop