summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-29 11:25:25 -0700
committerJeff Carr <[email protected]>2019-05-29 11:25:25 -0700
commit69e42973663c826ad8143e64d951ba6eaf63d995 (patch)
tree4dbe432259b14aca79f6b64caf9adb0697dde806 /gui.go
parent5bc0e15b3d163d3b2eadb1e25654ed0147b8f880 (diff)
remove the myAH stand alone variable
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go2
1 files changed, 1 insertions, 1 deletions
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) {