summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-08 12:08:57 -0500
committerJeff Carr <[email protected]>2023-04-08 12:08:57 -0500
commit65148155a12151fdeb2ffebf03da2c3b836780a8 (patch)
tree2fbbb174029a7171294137ce8bfa73d426414ba8 /plugin.go
parente582e4cfb0fa0a3a679d031b1f157b274f0d4075 (diff)
andlabs is still broken
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin.go b/plugin.go
index 4494f45..939107a 100644
--- a/plugin.go
+++ b/plugin.go
@@ -118,7 +118,10 @@ func LoadToolkit(name string) *aplug {
log(debugPlugin, "gui.LoadToolkit() END", newPlug.name, filename)
newPlug.Init()
- Config.rootNode.Redraw(newPlug)
+ newPlug.pluginChan = newPlug.PluginChannel()
+
+ // TODO: find a new way to do this that is locking, safe and accurate
+ Config.rootNode.redraw(newPlug)
newPlug.LoadOk = true
return newPlug
}