summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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
}