diff options
| author | Jeff Carr <[email protected]> | 2022-11-05 10:19:04 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-11-05 10:19:04 -0500 |
| commit | 099efb6b24caf9eaad50d7386636a7ac23552bde (patch) | |
| tree | 215685d7153e6d002c921d4f7ad2fa12d52fe323 /toolkit/andlabs/structs.go | |
| parent | a72d0ab2d0ff58704cc28993ea428b8c6c8825d7 (diff) | |
v0.4.2 more code cleanups and improvementsv0.4.2
Add command line argv handling using go-arg
make hello world dumb stupid simple again
more swtiching to common code
move debugging options to support go-args
more debugging output cleanup
more debugging cleanups
fix null pointer crash
Diffstat (limited to 'toolkit/andlabs/structs.go')
| -rw-r--r-- | toolkit/andlabs/structs.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go index edad27e..90f9409 100644 --- a/toolkit/andlabs/structs.go +++ b/toolkit/andlabs/structs.go @@ -93,7 +93,7 @@ func forceDump(t *Toolkit) { } func (t *Toolkit) GetText() string { - forceDump(t) + t.Dump() if (DebugToolkit) { log.Println("gui.Toolkit.Text() Enter") scs := spew.ConfigState{MaxDepth: 1} @@ -110,7 +110,9 @@ func (t *Toolkit) GetText() string { log.Println("gui.Toolkit.Value() =", t.uiMultilineEntry.Text()) } text := t.uiMultilineEntry.Text() - log.Println("gui.Toolkit.Value() text =", text) + if (DebugToolkit) { + log.Println("gui.Toolkit.Value() text =", text) + } t.text = text return text } |
