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 baf1d87..8899bd2 100644
--- a/plugin.go
+++ b/plugin.go
@@ -154,8 +154,8 @@ func (tk *guiWidget) GetText() string {
// return gocui.view name?
return tk.cuiName
}
- if tk.node.State.Label != "" {
- return tk.node.State.Label
+ if tk.GetLabel() != "" {
+ return tk.GetLabel()
}
return ""
}