summaryrefslogtreecommitdiff
path: root/text.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-11-05 10:19:04 -0500
committerJeff Carr <[email protected]>2022-11-05 10:19:04 -0500
commit099efb6b24caf9eaad50d7386636a7ac23552bde (patch)
tree215685d7153e6d002c921d4f7ad2fa12d52fe323 /text.go
parenta72d0ab2d0ff58704cc28993ea428b8c6c8825d7 (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 'text.go')
-rw-r--r--text.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/text.go b/text.go
index 169f3ec..9603bff 100644
--- a/text.go
+++ b/text.go
@@ -18,7 +18,9 @@ func (n *Node) NewLabel(text string) *Node {
}
func (n *Node) SetText(str string) bool {
- log.Println("gui.SetText() value =", str)
+ if (Config.Options.DebugChange) {
+ log.Println("gui.SetText() value =", str)
+ }
if (n.toolkit == nil) {
return false
}