summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-03 17:44:47 -0500
committerJeff Carr <[email protected]>2025-09-03 17:44:47 -0500
commit7c2c36f892e6c858954ce205e3136036962dfb33 (patch)
tree8c96f0d17d92c9c024153b910990fd4a1ceb7c8a
parent751fb0ff87a3514bda02d576eafe826950a60e2f (diff)
fix --gui-verbose
-rw-r--r--init.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.go b/init.go
index a9ba7f8..ae31446 100644
--- a/init.go
+++ b/init.go
@@ -141,7 +141,7 @@ func pluginCounter(a *widget.Action) {
func UnloadToolkits() {
if me.rootNode == nil {
- log.Log(WARN, "gui rootNode == nil. can't UnloadToolkits()")
+ log.Log(INFO, "gui rootNode == nil. can't UnloadToolkits()")
return
}
for _, aplug := range allPlugins {
@@ -297,6 +297,10 @@ func New() *Node {
testPluginAndExit()
}
+ if argGui.GuiVerbose {
+ INFO.SetBool(true)
+ }
+
initNew()
return me.rootNode
}