summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-11 22:24:24 -0600
committerJeff Carr <[email protected]>2024-01-11 22:24:24 -0600
commit3f3dee0ea5d542de0ce56ec56b2d7b30b75d1bc6 (patch)
treed78e8f63b9751bf20c104b87582d690392078388 /main.go
parentdfaa7894644d64c2d452caec2b7f0b55d1d70d5e (diff)
api changev0.12.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 90b882e..17cf158 100644
--- a/main.go
+++ b/main.go
@@ -134,7 +134,7 @@ func dropdownWindow(p *gui.Node) {
dd := p.NewDropdown("Window Dropdown")
dd.Custom = func() {
- name := dd.S
+ name := dd.GetText()
activeWidget = mapWindows[name]
setActiveWidget(activeWidget)
log.Log(INFO, "The Window was set to", name)
@@ -165,7 +165,7 @@ func dropdownWindowWidgets(p *gui.Node) {
dd := p.NewDropdown("Window Widgets Dropdown")
dd.Custom = func() {
- name := dd.S
+ name := dd.GetText()
activeWidget = mapWindows[name]
setActiveWidget(activeWidget)
}