summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-19 03:38:08 -0600
committerJeff Carr <[email protected]>2025-02-19 17:39:45 -0600
commit6b7fafbde220be5392448aa0e144a265be46897e (patch)
tree82685d8d2fef5904e922d90b03cd26d2da3cdfc8 /plugin.go
parent3f09b2b6e4b608350167199750d0bbe46d686c27 (diff)
protobuf changes
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.go b/plugin.go
index e2d93b7..baf1d87 100644
--- a/plugin.go
+++ b/plugin.go
@@ -213,7 +213,7 @@ func (tk *guiWidget) Disable() {
return
}
- switch tk.node.WidgetType {
+ switch tk.WidgetType() {
case widget.Box:
showDisable()
return
@@ -231,7 +231,7 @@ func (tk *guiWidget) Enable() {
return
}
- switch tk.node.WidgetType {
+ switch tk.WidgetType() {
case widget.Box:
hideDisable()
return