summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/add.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-27 10:46:54 -0500
committerJeff Carr <[email protected]>2023-04-27 10:46:54 -0500
commit8100e7a1abdc31afbf65af6d0b7cd7cb0fff69eb (patch)
tree7722df0af4968b6fac7d2ea544296c8b8f7db1f4 /toolkit/andlabs/add.go
parente3dbd4b2074c80cc089e54495ff2df3f94afabab (diff)
andlabs: more code cleanup
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/add.go')
-rw-r--r--toolkit/andlabs/add.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/andlabs/add.go b/toolkit/andlabs/add.go
index bebcfde..1bcead7 100644
--- a/toolkit/andlabs/add.go
+++ b/toolkit/andlabs/add.go
@@ -54,13 +54,13 @@ func add(a toolkit.Action) {
p.newSlider(n)
return
case toolkit.Dropdown:
- newDropdown(&a)
+ p.newDropdown(n)
return
case toolkit.Combobox:
- newCombobox(&a)
+ p.newCombobox(n)
return
case toolkit.Textbox:
- newTextbox(&a)
+ p.newTextbox(n)
return
case toolkit.Group:
p.newGroup(n)