From 26b06253d540fbcac2ae1372aa7fc0b1089bab98 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 9 May 2023 20:25:37 -0500 Subject: more code cleanups Signed-off-by: Jeff Carr --- tab.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tab.go') diff --git a/tab.go b/tab.go index 82f6289..95d9fa4 100644 --- a/tab.go +++ b/tab.go @@ -28,7 +28,7 @@ func (n *Node) NewTab(text string) *Node { // go up the binary tree until we find a window widget to add a tab too return n.parent.NewTab(text) } - newNode := n.newNode(text, toolkit.Tab, nil) + newNode := n.newNode(text, toolkit.Tab) a := newAction(newNode, toolkit.Add) sendAction(a) -- cgit v1.2.3