summaryrefslogtreecommitdiff
path: root/mainCloudBox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-30 11:56:34 -0700
committerJeff Carr <[email protected]>2019-05-30 11:56:34 -0700
commitd617938702a9f8d9cb3a6a5a04decba6b198d116 (patch)
tree62b0d735ea596a40382f0389dc10ade90337a001 /mainCloudBox.go
parentc15c731e7f7746dc5cd85cde4650a4e44a4837c7 (diff)
change to pointers correctly
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'mainCloudBox.go')
-rw-r--r--mainCloudBox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainCloudBox.go b/mainCloudBox.go
index 47c5202..9d11bf7 100644
--- a/mainCloudBox.go
+++ b/mainCloudBox.go
@@ -264,7 +264,7 @@ func InitWindow(wm *GuiWindow) {
newBM.Action = "QUIT"
newBM.W = wm.W
newBM.WM = wm
- Data.AllButtons = append(Data.AllButtons, newBM)
+ Data.AllButtons = append(Data.AllButtons, &newBM)
wm.W.OnClosing(func(*ui.Window) bool {
log.Println("InitWindow() OnClosing() THIS WINDOW IS CLOSING wm=", wm)