From 7012aff2aebdc74d950d921262e0ddfa677761e4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 19 Jan 2024 17:08:42 -0600 Subject: hidden settings seem to work Signed-off-by: Jeff Carr --- common.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'common.go') diff --git a/common.go b/common.go index a544f51..a46ecb5 100644 --- a/common.go +++ b/common.go @@ -119,6 +119,17 @@ func (n *Node) String() string { if !n.Ready() { return "" } + switch n.WidgetType { + case widget.Window: + return n.label + case widget.Button: + return n.label + case widget.Group: + return n.label + case widget.Label: + return n.label + default: + } return widget.GetString(n.value) } -- cgit v1.2.3