summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
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