From 92441e8c635aa3e1d1f148e4780c0c323f4b0f95 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 31 Dec 2023 07:40:53 -0600 Subject: continue move to remove tabs Signed-off-by: Jeff Carr --- debugGolang.go | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'debugGolang.go') diff --git a/debugGolang.go b/debugGolang.go index ac0b929..fb1fb07 100644 --- a/debugGolang.go +++ b/debugGolang.go @@ -9,18 +9,11 @@ import ( "runtime/pprof" ) -func (n *Node) DebugGolangWindow(makeWindow bool) { +func (n *Node) DebugGolangWindow() { var w, g, og, outputTextbox *Node - // Either: - // make a new window - // make a new tab in the existing window - if (makeWindow) { - w = me.rootNode.NewWindow("GO") - w.Custom = w.StandardClose - } else { - w = n.NewTab("GOLANG") - } + w = n.NewWindow("GO") + w.Custom = w.StandardClose g = w.NewGroup("Language Internals") -- cgit v1.2.3