summaryrefslogtreecommitdiff
path: root/new-structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-31 12:57:54 -0500
committerJeff Carr <[email protected]>2021-10-31 12:57:54 -0500
commitd38d60bcc38b6983e56283a16bc1a7c5b9c0e9ee (patch)
tree53b489c9df4ea1784be0d626df1497b04183c9be /new-structs.go
parentad3c3e8369ce6e62dbe9f8bacecf036d276dda8e (diff)
NODE: resurrect 'ssh' window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'new-structs.go')
-rw-r--r--new-structs.go3
1 files changed, 2 insertions, 1 deletions
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()