summaryrefslogtreecommitdiff
path: root/debugGochan.go
diff options
context:
space:
mode:
Diffstat (limited to 'debugGochan.go')
-rw-r--r--debugGochan.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/debugGochan.go b/debugGochan.go
index a3a45c6..ad70fbd 100644
--- a/debugGochan.go
+++ b/debugGochan.go
@@ -18,10 +18,7 @@ func (n *Node) DebugGoChannels(makeWindow bool) {
// make a new window
// make a new tab in the existing window
if (makeWindow) {
- Config.Title = "Debug GO Channels"
- Config.Width = 300
- Config.Height = 400
- w = NewWindow()
+ w = Config.rootNode.NewWindow("Debug GO Channels")
w.Custom = w.StandardClose
} else {
w = n.NewTab("Chan")