From 69e42973663c826ad8143e64d951ba6eaf63d995 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 29 May 2019 11:25:25 -0700 Subject: remove the myAH stand alone variable Signed-off-by: Jeff Carr --- gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index 407984f..8b01821 100644 --- a/gui.go +++ b/gui.go @@ -232,7 +232,7 @@ func CreateFontButton(action string) *ButtonMap { var newBM ButtonMap newBM.Action = action newBM.FB = newB - newBM.AH = myAH + newBM.AH = Data.myAH Data.AllButtons = append(Data.AllButtons, newBM) newB.OnChanged(func (*ui.FontButton) { -- cgit v1.2.3