summaryrefslogtreecommitdiff
path: root/mainCloudBox.go
diff options
context:
space:
mode:
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)