From 3b096d81453417a656167d5cce37f045d0c92cb8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 25 May 2019 01:36:36 -0700 Subject: work on fixing 'add account' Signed-off-by: Jeff Carr --- gui.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index e30ae96..45a9d6c 100644 --- a/gui.go +++ b/gui.go @@ -201,8 +201,9 @@ func CreateButton(a *pb.Config_Account, vm *pb.Event_VM, var newmap ButtonMap newmap.B = newB newmap.Account = a - newmap.Action = note - newmap.custom = custom + newmap.Action = note + newmap.custom = custom + newmap.aTab = Data.CurrentTab Data.AllButtons = append(Data.AllButtons, newmap) return newB -- cgit v1.2.3