summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go5
1 files changed, 3 insertions, 2 deletions
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