From c64592f326aa4a76d9c773e2d4f8b775fac86b02 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 19 Feb 2025 04:17:34 -0600 Subject: more and more --- plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin.go') 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 "" } -- cgit v1.2.3