From 4df2b5ecb8da632aa3afd093c777a2b690909874 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 01:49:21 -0600 Subject: finally able to lower the delay Signed-off-by: Jeff Carr --- action.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.go b/action.go index c7284f1..0aa075c 100644 --- a/action.go +++ b/action.go @@ -95,8 +95,8 @@ func sendActionToPlugin(a *widget.Action) { // safe (thread safe, correct locking, etc). I think it is. Things seem stable // sync.Mutex() locks don't appear to work somehow in a way I don't understand // it's probably due to []string use. use map[] instead - // log.Sleep(.000001) // this delay makes it so SetText() works on initial widget creation - log.Sleep(.002) // this delay makes it so SetText() works on initial widget creation + log.Sleep(.000001) // this delay makes it so SetText() works on initial widget creation + // log.Sleep(.002) // this delay makes it so SetText() works on initial widget creation } } } -- cgit v1.2.3