From 6b7fafbde220be5392448aa0e144a265be46897e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 19 Feb 2025 03:38:08 -0600 Subject: protobuf changes --- plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin.go') 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 -- cgit v1.2.3