From 25a6d6a346ca8829bf7fd2722324e73a64aa2ec8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 17 Oct 2022 19:57:16 -0500 Subject: [PATCH] TITLE: set the window title Signed-off-by: Jeff Carr --- entry.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entry.go b/entry.go index cac04cf..2ca578d 100644 --- a/entry.go +++ b/entry.go @@ -54,5 +54,9 @@ func (n *Node) SetText(value string) error { n.uiButton.SetText(value) return nil } + if (n.uiWindow != nil) { + n.uiWindow.SetTitle(value) + return nil + } return nil }