From 3f3dee0ea5d542de0ce56ec56b2d7b30b75d1bc6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Jan 2024 22:24:24 -0600 Subject: api change Signed-off-by: Jeff Carr --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') 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) } -- cgit v1.2.3