summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-25 16:00:33 -0700
committerJeff Carr <[email protected]>2019-05-25 16:00:33 -0700
commit8fe85f0af271c8cbfa4e5735f7136923dab357f8 (patch)
treef48b4bfcbbd543410129409a5fd1abf900d14b25 /gui.go
parent7b601a8e689ab4bc657f730f23c2c785b2fe7846 (diff)
pass the VM to the buttons in the VM tab
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui.go b/gui.go
index c811bd9..f9744bf 100644
--- a/gui.go
+++ b/gui.go
@@ -201,6 +201,7 @@ func CreateButton(a *pb.Account, vm *pb.Event_VM,
var newmap ButtonMap
newmap.B = newB
newmap.Account = a
+ newmap.VM = vm
newmap.Action = note
newmap.custom = custom
newmap.aTab = Data.CurrentTab