diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } |
