summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index dd9ed14..4e72e80 100644
--- a/structs.go
+++ b/structs.go
@@ -138,6 +138,7 @@ type dropdown struct {
// settings for the dropdown window
type internalTK struct {
+ once sync.Once // for init
tk *guiWidget // where to show STDOUT
callerTK *guiWidget // which widget called the dropdown menu
wId int // the widget id to use