summaryrefslogtreecommitdiff
path: root/debugFlags.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-31 07:40:53 -0600
committerJeff Carr <[email protected]>2023-12-31 07:40:53 -0600
commit92441e8c635aa3e1d1f148e4780c0c323f4b0f95 (patch)
tree7170a290962840af2486316c224462d52ddc3e0c /debugFlags.go
parent50f41a3ec5441396666e1108183ac02363c4bd18 (diff)
continue move to remove tabs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugFlags.go')
-rw-r--r--debugFlags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/debugFlags.go b/debugFlags.go
index db1586a..df5f7b2 100644
--- a/debugFlags.go
+++ b/debugFlags.go
@@ -41,7 +41,7 @@ func (p *Node) NewLogFlag(name string) *LogSettings {
// Let's you toggle on and off the various types of debugging output
// These checkboxes should be in the same order as the are printed
-func (n *Node) DebugFlags(makeWindow bool) {
+func (n *Node) DebugFlags() {
var w, g *Node
logGadgets := make(map[string]*LogSettings)
@@ -49,7 +49,7 @@ func (n *Node) DebugFlags(makeWindow bool) {
// Either:
// make a new window
// make a new tab in the existing window
- if (makeWindow) {
+ if (n.UseTabs()) {
w = me.rootNode.NewWindow("Debug Flags")
w.Custom = w.StandardClose
w = w.NewBox("hBox", true)