summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/window.go b/window.go
index 2e3187e..87d965b 100644
--- a/window.go
+++ b/window.go
@@ -10,7 +10,8 @@ func (parent *Node) NewWindow(title string) *Node {
var newNode *Node
// Windows are created off of the master node of the Binary Tree
- newNode = parent.newNode(title, toolkit.Window, StandardExit)
+ newNode = parent.newNode(title, toolkit.Window)
+ newNode.Custom = StandardExit
log(logInfo, "NewWindow()", title)