summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-25 01:36:36 -0700
committerJeff Carr <[email protected]>2019-05-25 01:36:36 -0700
commit3b096d81453417a656167d5cce37f045d0c92cb8 (patch)
treeb339acf057ca3639deb2b5c26e913661253bf773 /gui.go
parent19e73d6678385f1aef0b4544a39e9ee6f8d7884d (diff)
work on fixing 'add account'
Signed-off-by: Jeff Carr <[email protected]>
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