diff options
| author | Jeff Carr <[email protected]> | 2025-03-04 01:58:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-04 01:58:13 -0600 |
| commit | 5ebb13a45424b16ed99a3df644b3042f846900b1 (patch) | |
| tree | 899a57a681aa654c62af0d4f8fa17ba979847724 | |
| parent | 6127fa1cbb8a68f0b125f50b760822828c7f20e5 (diff) | |
add a frozen channelv0.22.33
| -rw-r--r-- | treeInit.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/treeInit.go b/treeInit.go index 4443264..aa709a8 100644 --- a/treeInit.go +++ b/treeInit.go @@ -51,9 +51,6 @@ func Callback(guiCallback chan widget.Action) { } func PluginChannel() chan widget.Action { - log.Info("PluginChannel() INIT(l)") - log.Info("PluginChannel() INIT(l)") - log.Info("PluginChannel() INIT(l)") initOnce.Do(initPlugin) for { if me.myTree != nil { @@ -62,12 +59,13 @@ func PluginChannel() chan widget.Action { log.Info("me.myTree == nil") time.Sleep(300 * time.Millisecond) } - log.Info("PluginChannel() DONE()") - log.Info("PluginChannel() DONE()") - log.Info("PluginChannel() DONE()") return me.myTree.PluginChannel() } +func FrozenChannel() chan widget.Action { + return me.myTree.FrozenChannel() +} + func initTree() *tree.TreeInfo { t := tree.New() t.PluginName = PLUGIN |
