summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
committerJeff Carr <[email protected]>2023-05-09 20:25:37 -0500
commit26b06253d540fbcac2ae1372aa7fc0b1089bab98 (patch)
tree9afc2600ce0633e85990f8376091d93fec7c6d3a /window.go
parent45ef7f37c4af0495ccf988f2f726aaea24a999e4 (diff)
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
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)