diff options
| author | Jeff Carr <[email protected]> | 2019-05-31 13:15:38 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-31 13:15:38 -0700 |
| commit | b5d51c314debff42cf479b165f400d84a6b72f7e (patch) | |
| tree | 34745c2b8970fe86427d755815801877bb3b12b3 /gui.go | |
| parent | f31e3850604b0150eac93862448ba520cd61b616 (diff) | |
more structural cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -218,12 +218,12 @@ func CreateButton(gw *GuiWindow, a *pb.Account, vm *pb.Event_VM, newUiB.OnClicked(defaultButtonClick) var newB *GuiButton - newB = new(GuiButton) - newB.B = newUiB - newB.T = gw.T + newB = new(GuiButton) + newB.B = newUiB + newB.T = gw.UiTab newB.Account = a - newB.VM = vm - newB.WM = gw + newB.VM = vm + newB.WM = gw newB.Action = action newB.custom = custom Data.AllButtons = append(Data.AllButtons, newB) |
