From d38d60bcc38b6983e56283a16bc1a7c5b9c0e9ee Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 31 Oct 2021 12:57:54 -0500 Subject: NODE: resurrect 'ssh' window Signed-off-by: Jeff Carr --- new-structs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'new-structs.go') diff --git a/new-structs.go b/new-structs.go index 8c1f300..4f9989e 100644 --- a/new-structs.go +++ b/new-structs.go @@ -235,7 +235,8 @@ func (n *Node) AddTab(title string, uiC *ui.Box) *Node { log.Println("gui.Node.AddTab() START name =", title) if parent.uiWindow == nil { parent.Dump() - panic("gui.AddTab() ERROR ui.Window == nil") + log.Println("gui.Node.AddTab() ERROR ui.Window == nil") + return nil } if parent.box == nil { parent.Dump() -- cgit v1.2.3