summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-07 06:19:35 -0500
committerJeff Carr <[email protected]>2021-10-07 06:19:35 -0500
commit54cf41663c2d94182370a2a4b14526f35c601131 (patch)
tree9f05b767065f636d321bb1d413155dfea3318ccc /structs.go
parent3eac6beec4c3809b4696d63a252a34a6c6dc8ae1 (diff)
NODE: continued work on implementing a node tree
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 2629cdc..e1993a9 100644
--- a/structs.go
+++ b/structs.go
@@ -177,7 +177,7 @@ func (s GuiBox) InitTab(title string, custom func() ui.Control) *Node {
return s.node
}
-func (s GuiBox) AddTab(title string, custom ui.Control) *ui.Tab {
+func (s *GuiBox) AddTab(title string, custom ui.Control) *ui.Tab {
if s.Window == nil {
return nil
}