From 099efb6b24caf9eaad50d7386636a7ac23552bde Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 5 Nov 2022 10:19:04 -0500 Subject: v0.4.2 more code cleanups and improvements 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 --- toolkit/andlabs/dropdown.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'toolkit/andlabs/dropdown.go') diff --git a/toolkit/andlabs/dropdown.go b/toolkit/andlabs/dropdown.go index 51d618d..ca09a99 100644 --- a/toolkit/andlabs/dropdown.go +++ b/toolkit/andlabs/dropdown.go @@ -9,7 +9,9 @@ import _ "github.com/andlabs/ui/winmanifest" func (t *Toolkit) NewDropdown(title string) *Toolkit { // make new node here - log.Println("gui.Toolbox.NewDropdownCombobox()") + if (DebugToolkit) { + log.Println("gui.Toolbox.NewDropdownCombobox()", title) + } var newt Toolkit if t.broken() { -- cgit v1.2.3