diff options
| author | Jeff Carr <[email protected]> | 2024-01-04 12:49:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-04 12:49:26 -0600 |
| commit | 1f0e212002c2c5b34ea23d91e504ed59d31cab22 (patch) | |
| tree | d40e6caaa970ad63ae86199ad11b65ae9397feb1 /mainWindow.go | |
| parent | 973f6411f4a59dcf21a8151d21578775deb340e0 (diff) | |
logSettings window moved to 'gui/gadgets'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'mainWindow.go')
| -rw-r--r-- | mainWindow.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mainWindow.go b/mainWindow.go index 460b76b..b40056c 100644 --- a/mainWindow.go +++ b/mainWindow.go @@ -5,6 +5,7 @@ import ( "go.wit.com/log" "go.wit.com/gui/gui" + "go.wit.com/gui/gadgets/logsettings" ) /* @@ -17,6 +18,8 @@ func DebugWindow(p *gui.Node) { bugWin.StandardClose() bugTab = DebugWindow2(bugWin, "Debug Tab") bugTab.StandardClose() + // initialize the log settings window (does not display it) + myLS = logsettings.New(myGui) if ArgDebug() { log.SetTmp() } @@ -35,7 +38,7 @@ func DebugWindow2(n *gui.Node, title string) *gui.Node { gr = newB.NewGroup("Debugging Windows:") gr.NewButton("logging", func () { - DebugFlags(myGui) + myLS.Show() }) gr.NewButton("Debug Widgets", func () { DebugWidgetWindow(myGui) |
